Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

How to conditionalize user inputs based on earlier user inputs

Updated on May 3, 2020


Some applications require forms where certain inputs depend on a previous input value.  

For example, users first choose one United States state from a drop-down list. Depending on the state choice, a follow up question appears. This question may require clicking a radio button, completing a text box, or another user interaction).

A pair of chained Dynamic Select controls won't work, as this approach does not support the wide range of possibilities for the second question and value.  

A straightforward approach is to ask the state question in a first flow action, then have the next flow action figure out the appropriate follow-up question.  But in some cases this doesn't look great, and a single-screen look is preferred. Is there a one-form approach?



Suggested Approach

Create a Rule-HTML-Property rule called something like PromptSelectRefresh by copying and saving the standard HTML Property rule promptSelect.

Update your copy with onChange=”javascript:reSubmit();” on the <select> elements. 

Then use your flow action to conditionalize the follow-up questions based on the .State property.

This approach uses rules rather than JavaScript functions) to build the associations, and still provides the preferred "single-screen" look.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us