Create a Show on Receipt Rule

   MaestroPreviously known as Transact Maestro.  |   Form Builder |  v5.1 & Higher This feature is related to v5.1 and higher.

The show on receipt visibility rule shows the component on a generated receipt. The component is still displayed in the Editor window, however, when you preview or build the Journey Manager form version, the component is not displayed.

When a transaction is completed by a form user, a receipt is rendered and emailed to the user. This receipt is used as a record for form users. By default, most components are display on both the form, and on the generated receipt. Use the Hide or Show on Receipt rules to hide components on the form and only show them on a receipt, or hide the components on the receipt and only show them on the form.

The show on receipt rule should be used when you have components that require no user input but provide further information to the user. For example, you may want to display a list of items that the user is required be collect in addition to submitting the form and printing a receipt.

To create a Show on Receipt rule, follow these steps:

  1. Open a Maestro form.
  2. Click the Properties tab.
  3. Select the component to hide on the receipt
  4. Click Create Rule.
  5. Select Show on Receipt.
  6. Enter JavaScript that implements the rule.
  7. Click Save.
  8. Click Build and Render Form to see how this rule is displayed when the form is built and rendered. Check that the selected component is shown on a generated receipt.

When a Show on Receipt rule is configured, a Visibility rule item will be displayed in the Rules section of the Properties pane for the selected Maestro form. If you want to make any changes to the existing rule, you can do so by selecting this item from the panel. You can also click the X icon to remove the rule from the component.

Note

Check out the Show on Receipt example.