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.

If option is checked on, then other fields need to be required.

  1. Basically we have a form and what we need is if the user is NOT within the United States, it will require them to fill out some other fields. If the user IS within the United States, then those fields will not be required.

    Is this possible or is there any documentation on this?

    Thanks for your help.

    Posted 12 years ago on Tuesday July 19, 2011 | Permalink
  2. You would have to add a Drop Down field to your form that the user would use to select their country. You can use the Bulk Add/Predefined Options on the Drop Down field to populate it with a list of countries.

    You can then use Conditional Logic to show or hide fields based on the selection they make in the Select Your Country field that you create as outlined above. You would edit the field, select the advanced tab and enable Conditional Logic and then configure the field and selection that must be made in order for that field to be shown or hidden.

    Conditional Logic is mentioned in the documentation for all of the available fields here:

    http://www.gravityhelp.com/documentation/page/Form_Fields

    But it's pretty simple. It looks like this: http://i.imgur.com/5rJA7.png

    Posted 12 years ago on Tuesday July 19, 2011 | Permalink