This article is useful if you want to have a textbox that only appears in the form when a specific checkbox is selected.
This is an example on how to make displaying a field depending on a checkbox being checked.
If the checkbox ‘More info?’ is checked, the next line and textbox will be displayed.
The text marked with yellow in this HTML needs to be added manually in the HTML-code (you have to click on ‘Source’ to get there).
The text marked with pink is the name of the script you are calling.
The text marked with green is the ID of the text that we want to control. In the script we need to refer to this ID.
The text marked with red is the ID of the check box we want to control.
For RC 3.8 → 4.0 SR1:
For RC 4.0 SR2+:
If you want to make different checks in your form, you must create a script for each and call the script from each checkbox.
The examples are meant as inspiration.
Applies to: RC 3.7.10; RC 3.8 and RC 4.0
Reference: TFS #8527; #119094; #147137
Knowledge base ID: 0055
Last updated: Oct 03, 2017