Rule Templates and Rule Helpers in a Form

   MaestroThe UI design product.  |    Form Builder  |  All versions This feature is related to all versions.

Maestro allows you to configure a component with the Rule Templates and a Rule Helpers component options, which can be then used in a form.

Once you have configured a component with the Rule Templates and a Rule Helpers component options, you can use it in a Journey Maestro form.

To configured a component with the Rule Templates and a Rule Helpers component options:

  1. Open a project in your organization.
  2. Select a form that has a component with a rule helper and rule template configured.
  3. Click Edit Form.
  4. Add this component to the form.
  5. Select this component.
  6. Click the Properties tab and click Create Rule. It displays the Create Rule Dialog. if the rule template has been configured correctly, it should be a selected rule option.
  7. Select Rule Template under the name of the customized component, for example Test Rule.
  8. Edit a rule as a JavaScript, for example, show a welcome message when the rule is triggered from other component.
  9. Click Save.
  10. Add another component to the form that executes this rule. For example, you may add a button with a Click rule that executes a JavaScript when the button is clicked: Form.fireRule("testRule", item, data)

Next, learn about component labels.