How to create a Condition based on the state of a Collapse Section (accordion) element?

  • rwaldenjr
    Asked on August 24, 2017 at 8:50 PM

    I'm currently using a Section Collapse (accordion) element to hide various questions and pages in a multi-page form. I'm also trying to use either a "Skip To/Hide a Page" or "Show/Hide Field" condition that reveals hidden pages when the control is clicked.

    However, I can't seem to select the Collapse/Expand element in the "If" field when creating either of the New Condition types. Is there some technique I could use to achieve this, a possible work-around, or some simple coding I can use?

    Thanks for your help!

    Jotform Thread 1232192 Screenshot
  • Kevin Support Team Lead
    Replied on August 24, 2017 at 10:21 PM

    Unfortunately, it's only possible to set up conditions based on fields that get an input, for example: 

    - Text Box.

    - Check Box. 

    - Radio Button. 

    - Text Area. 

    - Email.

    You would  need to get the form's source code and implement your own code to get  it working they way you want, please check this guide that will help you getting your form's code: https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form