Dynamically preselecting HTML checkboxes
You can let the server decide whether to select a checkbox when the form is displayed in a browser.
For ASP.NET pages, you must use the ASP.NET CheckBox control. For more information, see Dynamically preselecting ASP.NET CheckBox controls.
Before you begin, you must create the form in a ColdFusion, PHP, ASP, or JSP page, and you must define a recordset or other source of dynamic content for the checkboxes. For more information, see Defining a recordset. Ideally, the source of content should contain Boolean data, such as Yes/No or true/false.
To dynamically preselect an HTML checkbox:
- Select a checkbox form object on your page.
- In the Property inspector, click the Dynamic button.
The Dynamic CheckBox dialog box appears.
- Complete the dialog box and click OK.
For instructions, see Setting the Dynamic CheckBox dialog box options.
The checkbox will appear selected or not selected, depending on the data when the form is viewed in a browser.