Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Most form components have design time options to set various control properties like Required and Disabled.  In some cases, it might be desirable to set those properties conditionally based on other parameters of the form.  The the form attached to this page demonstrates a checkbox component controlling the state of a Text Area.  Click here to download the sample for use in your own GlobalForms environment.

In this example:

  • When Is Required is not checked, Description is disabled and does not contain the required property.
  • When Is Required is checked, Description is enabled and marked required.
  • When a user unchecks Is Required, the Description text area goes back to its original state and is clear of any text previously entered.

...