Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/update_mobile_regex' into update…
Browse files Browse the repository at this point in the history
…_mobile_regex
  • Loading branch information
KrupaPammi committed Jun 24, 2024
2 parents f608bc5 + e77e4c6 commit 828a3fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/GiftAid/UpdateForm/UpdateFormFields.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const updateFormFields = {
placeholder: 'In the format 07123456789',
label: 'Mobile number',
required: false,
pattern: '^(?:(?:00)?44|0)7(?:[457-9]\d{2}|624)\d{6}$', // As per Update.action.js in serverless-giftaid
pattern: '^(?:(?:00)?44|0)7(?:[457-9]\\d{2}|624)\\d{6}$', // As per Update.action.js in serverless-giftaid
helpText: 'Enter the one associated with your donation',
emptyFieldErrorText: 'Please fill in your mobile number',
invalidErrorText: 'Please enter a valid mobile phone number - it must be the same number associated with your donation.',
Expand Down

0 comments on commit 828a3fb

Please sign in to comment.