Title: Field Validation &#8211; more complex
Last modified: January 14, 2024

---

# Field Validation – more complex

 *  Resolved [robifz](https://wordpress.org/support/users/robifz/)
 * (@robifz)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/field-validation-more-complex/)
 * How do I add field level validation to an input field. 
   I want to be able to 
   validate against a regexpattern=”^(?!\s_$)[a-zA-Z ‘-,‘‛’′‵—–]_“and then have 
   the error message displayed above or below the field in redAnd for this to occur
   when the user exits the field not just at submission

Viewing 1 replies (of 1 total)

 *  [Abul Khoyer](https://wordpress.org/support/users/hellokhoyer/)
 * (@hellokhoyer)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/field-validation-more-complex/#post-17353746)
 * Hello [@robifz](https://wordpress.org/support/users/robifz/),
 * You can validate input against a regex pattern. You will get this option under
   _Settings & Integrations _-> _Settings_ section. ([see screenshot](https://prnt.sc/nBk7wJ_prSBb))
 * Please note that the validation will be checked on submit. There is no option
   to validate in real-time.
 * Thank you.

Viewing 1 replies (of 1 total)

The topic ‘Field Validation – more complex’ is closed to new replies.

 * ![](https://ps.w.org/fluentform/assets/icon-256x256.png?rev=3354580)
 * [Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder](https://wordpress.org/plugins/fluentform/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fluentform/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fluentform/)
 * [Active Topics](https://wordpress.org/support/plugin/fluentform/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fluentform/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fluentform/reviews/)

## Tags

 * [regex](https://wordpress.org/support/topic-tag/regex/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * 1 reply
 * 2 participants
 * Last reply from: [Abul Khoyer](https://wordpress.org/support/users/hellokhoyer/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/field-validation-more-complex/#post-17353746)
 * Status: resolved