Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Designers can script more complex show/hide functions by using the Advanced section of a control's Conditional tab.  In the example below, we look to only show the Spouse's Name and Spouse's Occupation controls when Marital Status is equal to "married".  There may be specific reasons why you need to show/hide specific controls, but it is worthwhile to consider alternative options (like grouping all controls that should be hidden within a single layout component).

Since the visibility will be controlled by the Marital Status radio component, we will add the advanced conditional logic to this control.  In the component's settings, click the conditional tab, and then click the Advanced panel group to access the advanced editor.  Here you can enter any Javascript necessary to control the viewable state of your form components.  For Advanced Conditionals, you should always be setting the system variable "show" to true or false.  For this purpose, show will always be true.  

Hide Controls Rule
 



Pay special attention to the Property Name on the API tab of the controls you will be working with.  These names can be edited, but must be unique on the form.

  • No labels