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.

A form on a site using Gravity and how it was done

  1. johnbroome77
    Member

    Hi All,

    This page has a Contact Reason Select pull down and then the form changes to suit. How is that done?

    (new to Gravity)

    Cheers,

    John

    Posted 13 years ago on Tuesday January 18, 2011 | Permalink
  2. That is done with conditional logic. When you have a radio button or check box field, you can add a field after that that says "if the answer to {the question above} is equal to {whatever} then show {this}". It's very cool.

    It's on the advanced tab and is called "enable conditional logic". I don't think it will appear unless there is a form field with radio buttons (multiple choice) or a check box. Those are the two field types that will allow you to create the conditions for your conditional logic.

    Screenshot: http://i.min.us/iecZMq.png

    I thought it was in the documentation but I am having a hard time finding it. New documentation is coming with the impending 1.5 release.

    Posted 13 years ago on Tuesday January 18, 2011 | Permalink