Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to validate that a field doesn't have a special character.

patricia andraka
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 18, 2022

I'm using Confiforms to create pages.  The title field is used for the page title.  I want to prevent users from entering any special characters, especially parenthesis.  I tried to create a RegEx, but the only one that works is [!@#$%^&*(),.?":{}|<>].  Since the brackets are required to make the validation work, I can't use this formula in the Confiforms Field definition or with the CConfiforms Rules for field definition, the page can't be saved. Is there another way to check the field for special characters?

1 answer

0 votes
Alex Medved _ConfiForms_
Community Champion
October 18, 2022

Hi

Have you tried to set the validation rule on the ConfiForms Field Definition itself?

 

Alex

patricia andraka
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 20, 2022

Yes, that is where I put the validation rule.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events