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.

validation

  1. 1.. I'm using studiopress and notice regular validation on forms there using HTML forms and the normal Javascript for validation doesn't work too well - and looks like you're supposed to use Gravity with gform functions with these themes. Right? Just minimum validation for me now - name field is non-blank and email is right format. That should work with gform- right?
    2. Can a form branch for the return page based on whether a checkbox is checked? For example, I want to send free white papers. If they check that, If checked, I want to branch to a page to download the paper. Otherwise, all will branch.
    3. My host requires me to use their form processor in my cgi-bin to provide good security. Can I still do that with Gravity?

    Posted 8 years ago on Tuesday January 31, 2012 | Permalink
  2. Normal validation is built in, and should not require any hoops with gform functions. Please post a link to your site if you are currently using Gravity Forms so we can see what you're talking about.

    You can do what you describe with a little bit of code in your theme's functions.php to show conditional confirmation pages.

    Because Gravity Forms is a WordPress plugin, it's installed in the wp-content/plugins folder, not cgi-bin. You can try it as it's installed, but if your host prevents this normal configuration, you will need to find another host to be able to use Gravity Forms.

    Posted 8 years ago on Wednesday February 1, 2012 | Permalink
  3. aarcro
    Member

    What is "Normal validation"? It sure doesn't ensure that an email field contains an email address as my pentesters have filled the database with form submissions including non-valid email addresses.

    Is there some trick to enabling validation? Really shouldn't have to write a gform_validation hook to validate an email address.

    Posted 7 years ago on Friday August 17, 2012 | Permalink
  4. What sort of test email addresses are you using which are invalid but passing as valid. There is no trick to enabling validation, but it's possible the validation routine may need to be revised to prevent certain types of invalid email addresses.

    The validation will not verify if an email address exists: it is designed only to ensure the data that is entered looks like an email address.

    Posted 7 years ago on Saturday August 18, 2012 | Permalink
  5. aarcro
    Member

    Using skipfish you can submit a form with "1" as the value for every field.

    Posted 7 years ago on Monday August 20, 2012 | Permalink
  6. It sounds like you are already using Gravity Forms? If so, please begin a new topic in the regular support forums, and include a link to your form online so we can test out your form. Thank you.

    Posted 7 years ago on Tuesday August 21, 2012 | Permalink