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.

conditional logic on field focus

  1. Hi there,
    I have a newsletter form done in contact form 7.
    The first field is just an email one: when user focuses it the form expand and other fields display.
    This is achieved wrapping extra fields with a div (hidden by default). When user focuses the email field a jquery script append a class to the div to unhide it ( in order to close it there is a button, inside the div, which removes the class).
    How can I reproduce this with gravity? a conditional logic linking the email value to a section break doesn't seem great...furthermore, how would a user (just a curious one) be able to close the form once extended?
    thanks for attention!

    is there any possibility to enable a conditional logic based on

    Posted 11 years ago on Monday February 4, 2013 | Permalink
  2. David Peralty

    We currently do not have any built-in way to do this. You would have to write your own JavaScript if you wanted a section to expand on field focus.

    Posted 11 years ago on Monday February 4, 2013 | Permalink