DesignStyle a Check Box

You can style a check box using the options in the Home tab. However, if you have several check boxes in Loftware Enterprise SP and you want to quickly apply the same style to multiple check boxes, you can define the style using a business rule and then apply those styles to a check box using the Style Data Ref property.

Note: Styles defined by a Style Data Ref override those configured in the Properties pane.

To style a check box using a business rule, perform the following steps:

  1. In Application Design , create and save a new business rule that adds the applicable values (or "styles") to the appropriate data map entries (or "properties"). For more information, see Create a Business Rule in Configurator.
  2. Open the form with the check box and select the check box.
  3. In the Properties panel, for the Style data ref property, enter the location in the data map from which the check box obtains styling data as defined in your business rule.

    Example

    /MyStyles

  4. Add a rule to the form to run the new styling business rule with the onLoad trigger event. For more information, see Add an Action or Rule.
  5. Open or create an application and add the form to the application.
  6. View the styled check box on the application in Applications .