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.

Required hidden field?

  1. gregfindley
    Member

    I'm working on a Review submission form at:
    http://www.petinsurancereview.org.uk/submit/

    The stars are setup so when clicked they update the value of a hidden GF field. I'm wanting to set it so that the form can't be submitted if the Overall Rating's hidden field value is empty. Any ideas on the best way to go about doing that?

    Thanks,

    Posted 13 years ago on Friday July 8, 2011 | Permalink
  2. The only way to do this as it's a customization would be to use the gform_validation hook and write some custom validation to check the value. There is a tutorial on how to use the gform_validation hook here:

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

    Posted 13 years ago on Friday July 8, 2011 | Permalink