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.

Need help with Field Validation..

  1. Please go to the link bellow and you will see a one line text field called Company website. This fiend i need to implement some validation of this field,

    Can you please assist me how can i implement the following regex validation for this field.
    (http|https)://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?
    http://vitizo.com/competitive-intelligence-test/

    Posted 12 years ago on Friday June 22, 2012 | Permalink
  2. Installation Status
    PHP Version 5.3.10
    MySQL Version 5.1.63
    WordPress Version 3.4
    Gravity Forms Version 1.6.4.5

    Posted 12 years ago on Friday June 22, 2012 | Permalink
  3. David Peralty

    Have a look at this hook: http://www.gravityhelp.com/documentation/page/Gform_field_validation

    It should allow you to validate your field against your regex parameters.

    Posted 12 years ago on Friday June 22, 2012 | Permalink
  4. Thanks Devid for your response. Just wondering should I just add a additional function with the existing one for the specific form and field ID?

    so in that case how the code will look like. I am not a Pro developer on this language yet. Any advance help will be appreciated.

    Regard's Kabir

    Posted 12 years ago on Tuesday June 26, 2012 | Permalink