diff --git a/sanityv3/schemas/textSnippets.ts b/sanityv3/schemas/textSnippets.ts index fbfdbfa37..0cb88a439 100644 --- a/sanityv3/schemas/textSnippets.ts +++ b/sanityv3/schemas/textSnippets.ts @@ -15,6 +15,16 @@ export const groups = { others: { title: 'Others' }, } const snippets: textSnippet = { + country_code_format: { + title: 'e.g. +47', + defaultValue: 'e.g. +47', + group: groups.form, + }, + all_fields_required: { + title: 'All fields with * is required', + defaultValue: 'All fields with * is required', + group: groups.form, + }, loading: { title: 'Loading', defaultValue: 'Loading...', @@ -206,7 +216,7 @@ const snippets: textSnippet = { }, contact_form_name: { title: 'Name', - defaultValue: 'Name', + defaultValue: 'Name *', group: groups.contactForm, }, contact_form_name_placeholder: { @@ -216,7 +226,7 @@ const snippets: textSnippet = { }, contact_form_email: { title: 'Email', - defaultValue: 'Email', + defaultValue: 'Email *', group: groups.contactForm, }, contact_form_name_validation: { @@ -488,7 +498,7 @@ const snippets: textSnippet = { }, careers_contact_form_name: { title: 'Name', - defaultValue: 'Your Name', + defaultValue: 'Your Name *', group: groups.careerContactForm, }, diff --git a/web/pageComponents/topicPages/Form/CareerFairForm.tsx b/web/pageComponents/topicPages/Form/CareerFairForm.tsx index be439eb66..7dfc8dda0 100644 --- a/web/pageComponents/topicPages/Form/CareerFairForm.tsx +++ b/web/pageComponents/topicPages/Form/CareerFairForm.tsx @@ -170,10 +170,23 @@ const CareerFairForm = () => { + + {intl.formatMessage({ + id: ' career_fair_form_phone', + defaultMessage: 'Phone Number', + })} + +
+ + {intl.formatMessage({ + id: 'country_code_format', + defaultMessage: 'e.g. +47', + })} + + + } inputRef={ref} inputIcon={invalid ? : undefined} helperText={error?.message} @@ -306,6 +319,9 @@ const CareerFairForm = () => { /> )} /> +
+ +
{ ) }} /> - +
+ +
{ setSubmitButtonEnabled(true) diff --git a/web/pageComponents/topicPages/Form/OrderReportsForm.tsx b/web/pageComponents/topicPages/Form/OrderReportsForm.tsx index 465edc05d..3a65fbcaa 100644 --- a/web/pageComponents/topicPages/Form/OrderReportsForm.tsx +++ b/web/pageComponents/topicPages/Form/OrderReportsForm.tsx @@ -356,6 +356,9 @@ const OrderReportsForm = () => { /> )} /> +
+ +
{ setSubmitButtonEnabled(true) diff --git a/web/pageComponents/topicPages/Form/SubscribeForm.tsx b/web/pageComponents/topicPages/Form/SubscribeForm.tsx index f29fb6885..682b04784 100644 --- a/web/pageComponents/topicPages/Form/SubscribeForm.tsx +++ b/web/pageComponents/topicPages/Form/SubscribeForm.tsx @@ -251,6 +251,9 @@ const SubscribeForm = () => { /> )} /> +
+ +
{ setSubmitButtonEnabled(true) diff --git a/web/pageComponents/topicPages/Form/careersContactForm/CareersContactForm.tsx b/web/pageComponents/topicPages/Form/careersContactForm/CareersContactForm.tsx index 2f8b0b441..02547acc1 100644 --- a/web/pageComponents/topicPages/Form/careersContactForm/CareersContactForm.tsx +++ b/web/pageComponents/topicPages/Form/careersContactForm/CareersContactForm.tsx @@ -141,10 +141,23 @@ const CareersContactForm = () => { + + {intl.formatMessage({ + id: 'careers_contact_form_phone', + defaultMessage: 'Phone Number', + })} + +
+ + {intl.formatMessage({ + id: 'country_code_format', + defaultMessage: 'e.g. +47', + })} + + + } placeholder={intl.formatMessage({ id: 'careers_contact_form_phone_placeholder', defaultMessage: 'Country code and phone number', @@ -347,6 +360,9 @@ const CareersContactForm = () => { /> )} /> +
+ +