Title: Field validation pattern?
Last modified: August 21, 2016

---

# Field validation pattern?

 *  Resolved [Peter Hardy-vanDoorn](https://wordpress.org/support/users/petervandoorn/)
 * (@petervandoorn)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/field-validation-pattern/)
 * Is it possible, either in the free or the Pro version, to specify a validation
   pattern for fields?
 * For example, I have a field that I would like to have the user enter a code in
   the format of 4 numbers, hyphen, 4 numbers, hyphen, 4 numbers – eg, 1234-5678-
   9012.
 * I have seen other plugins, Custom Content Type Manager being one, that allows
   you to enter ####-####-#### to specify this (ie, # = a number) or to use GREP.
 * Cheers
 * Peter
 * [http://wordpress.org/plugins/visual-form-builder/](http://wordpress.org/plugins/visual-form-builder/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Matthew Muro](https://wordpress.org/support/users/mmuro/)
 * (@mmuro)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/field-validation-pattern/#post-4048840)
 * It’s best to offload this to a specialty jQuery plugin like [Masked Input](http://digitalbush.com/projects/masked-input-plugin/).

Viewing 1 replies (of 1 total)

The topic ‘Field validation pattern?’ is closed to new replies.

 * ![](https://ps.w.org/visual-form-builder/assets/icon-256x256.png?rev=1205840)
 * [Visual Form Builder](https://wordpress.org/plugins/visual-form-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/visual-form-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/visual-form-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/visual-form-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/visual-form-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/visual-form-builder/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Matthew Muro](https://wordpress.org/support/users/mmuro/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/field-validation-pattern/#post-4048840)
 * Status: resolved