Creating or configuring forms > Configuring the <components> element > Configuring a checkbox

6.1.2 Configuring a checkbox

A user clicks a checkbox to toggle true or false values. Use a <boolean-value> element to specify a checkbox.

To add/delete/modify a checkbox

  1. Open the appropriate XML file located in the Viewpoint home directory. Locate the <components> element.
  2. Create the <component> with a unique id.
  3. Set the <boolean-value /> element within <component>.
  4. Set the <default> if you would like it to be “true”. If unset, Viewpoint automatically assumes "false".
  5. <component id="isDevelopment" required="true">
      <description>Development</description>
      <boolean-value />
        <default>true</default>
    </component>

Related topics