Upvote 1

Condition for when field does NOT include special characters

In Progress Jessica Slade 3 years ago

I want to create a condition that is basically IF !@#*. are present in the text field, show panel. It's a password creation rule that doesn't allow those characters in a new password. Anyone know what this sequence would look like here?

Replies (1)

Sure! You'll need to use a regular expression which can check for those characters. You can create this condition:


Find the RegEx function in the 'Text' section. Copy and paste this in the next space:

The next part of the condition checks to see if the input field isn't empty. If both are true, then you'll show an error message.

We've created another event that will hide the error message and show a 'Success' box. The condition for that is the same as above, just don't include the Not in the front.

Leave a Comment
Attach a file