PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Custom validation, as a plugin?

  1. redhillcrea.tv
    Member

    Hello,

    http://www.gravityhelp.com/forums/topic/custom-validation-help-needed

    I am wondering if there is a way to make the custom validation as a form of plugin instead of add to the theme functions.php?

    I would like to use this type of validation on a couple of websites, some of which are in the process of being updated/redesigned.

    A plugin or add-on type of thing would make the validation much simpler.

    Any help is appreciated

    Posted 13 years ago on Saturday October 8, 2011 | Permalink
  2. phirefly
    Member

    I second this - even a few basic options (similar to how excel works) would be great

    eg. (on a per field basis)
    numbers only, fixed number of characters, starts with / ends with / contains

    Currently there is no way of adding validation from within the wp interface - is that correct or am I missing something?

    thanks

    Posted 13 years ago on Monday October 10, 2011 | Permalink
  3. @pghirefly, you're correct. All custom validation is done with PHP code in your theme's functions.php. Basic validation is built in for certain fields.

    Posted 13 years ago on Tuesday October 11, 2011 | Permalink