How to have a Form Field require a certain text format

Answered


image avatar

Sydney Neubauer

Zendesk Luminary

Posted Mar 31, 2023

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

1

1 comment

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.

0


Sign in to leave a comment.

Didn't find what you're looking for?

New post