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 click / on focus

  1. Hi,
    I would like to show some more fields on my form after the user enters some data in an input field.
    Meaning that my conditional logic is not via a drop down but just when the users fills out an input field?
    How can this be done?

    Thanks,
    Dan

    Posted 14 years ago on Sunday July 4, 2010 | Permalink
  2. Conditional logic does not work on input fields. It works based on user selection fields (drop downs, radio buttons, check boxes) where a javascript event is attached to the selection and an input field is not a selection field.

    Posted 14 years ago on Monday July 5, 2010 | Permalink
  3. Thanks Carl,
    I figured it out using jquery - hiding form elements on page load and showing them 'onfocus' of another form element

    Dan

    Posted 14 years ago on Monday July 5, 2010 | Permalink
  4. S21
    Member

    Danstramer,
    Can you elaborate. I'm dealing with the same issue. In my case, I want the form to change based on a zip code text input field -- if a zip code within a pre-set range is selected, I want the subsequent form fields to change. If outside that pre-set range, I want a different change in subsequent form fields. Again, could you elaborate on how you found away around this?

    Also Mr. Hancock,
    Do you have any plans to introduce multi-part page redirects as part of the Conditional Logic feature (if this, then route to this stored form) -- and broaden it out in other ways?

    Best regards,
    SP2

    Posted 14 years ago on Friday July 9, 2010 | Permalink