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.

Still stuck on this http://www.studiopress.com/contact

  1. johnbroome77
    Member

    Hi All,

    This http://www.studiopress.com/contact page has a cool form that displays fields after a selection is made.

    This page has a select section but I do not see how to have the fields that are displayed only happen after the Contact Reason is selected and depend on what has been selected.

    Cheers,

    John

    Posted 13 years ago on Tuesday February 8, 2011 | Permalink
  2. johnbroome77
    Member

    Hi All,

    URL http://paaudiovisual.co.uk/?page_id=48

    Cheers,

    John

    Posted 13 years ago on Tuesday February 8, 2011 | Permalink
  3. That StudioPress page uses conditional logic. I tried the documentation page here and didn't see it. New documentation is coming with the 1.5 version (soon.)

    In any case, you already have your drop down (select box) Contact Reason, which is good. Now you need to add the fields after it to be shown when the Contact Reason is "equal to" one of your choices.

    Try this: add a field right after the Contact Reason field, let's call it URL. Once you've added the field, click the "Advanced" tab and you will see a radio button "Enable Conditional Logic". Now that you've done that, you will see some additional options. Try selecting "Show" this field if "Any" of the following match.

    Now, you will have some pre-filled options. In your case I think the question will be "Contact Reason" on the left, leave it selected "is" in the middle, and then choose "Website" on the right. Now, save your form and give it a test spin. Try selecting different values in your drop down and see if the form changes at all.

    What you did was added a field called "URL" to your form, and made it conditionally appear when "Contact Reason is Website", in plain English.

    Once you get that basic functionality down, you will see exactly how to pull off what StudioPress did with their contact form. You'll also see how powerful the conditional logic function is in Gravity Forms.

    Posted 13 years ago on Tuesday February 8, 2011 | Permalink