Need to restrict field to take only aplha numberic and -

Manoj Meena asked on March 29, 2019 14:43

Hi,

I need to restrict field to put only alpha numeric and -

it should not take any other special character.

how do i do this validation?

its text box and datatype is text. Thanks

Correct Answer

Peter Mogilnitski answered on March 29, 2019 15:03

Go to your field editor and scroll down to validation and rules and add regular expression:

Image Text

1 votesVote for this answer Unmark Correct answer

Recent Answers


Roman Hutnyk answered on March 29, 2019 15:01

You could add validation rule using appropriate regex - this won't prevent users to enter other characters, but won't allow them to submit a form.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.