How to have a Form Field require a certain text format | Community
Skip to main content

How to have a Form Field require a certain text format

  • March 31, 2023
  • 1 reply
  • 0 views

Sydney11

Hey there,

I have a webform for new hires where managers can fill out to submit a ticket. One of the fields is a text field for them to enter the email address of the new hire. We are getting requests where it is just the new hires name rather than the email. 

Is there some code that I can add that will make this field require a certain format? ie. @domain.com

Thank you!

1 reply

Zendesk13
  • April 1, 2023

Hi Sydney, an alternative is to use a REGEX field, instead (see https://support.zendesk.com/hc/en-us/articles/4408838961562). This type of field allows you to validate the input.