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.

gform validation not working

  1. kate@richrelevance.com
    Member

    Hi I've been trying to create custom validation using exactly the instructions on the following page (yes, the VIN numbers works just fine for my purposes).

    http://www.gravityhelp.com/documentation/page/Using_the_Gravity_Forms_%22gform_valiation%22_Hook

    I inserted the cut and paste php referencing the form id number but the filter doesn't seem to be working. Am I missing something here in terms of the set up of the form itself? I added a custom field and gave it a new custom field name "validate-vin" and added in a CSS class using the same "validate-vin."

    Posted 14 years ago on Monday July 25, 2011 | Permalink
  2. There is nothing wrong with the code in the tutorial, it works as intended. If there are any issues it's going to be related to implementation. Use http://pastie.org to post your custom code and we can take a look and see if we see anything unusual.

    Posted 14 years ago on Monday July 25, 2011 | Permalink
  3. kate@richrelevance.com
    Member

    In terms of your code, all I changed was the id number in the code.

    You can see a test version of the form here: http://www.richrelevance.com/test_gravity/

    Posted 14 years ago on Monday July 25, 2011 | Permalink
  4. Please post your custom code to http://pastie.org and provide a link to it, we can't see the custom code on that page itself because it's being executed.

    Posted 14 years ago on Tuesday July 26, 2011 | Permalink