Create a Hide on Receipt Rule

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

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 Hide on Receipt visibility rule hides the component on a generated receipt.

To create a Hide 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 Hide on Receipt.
  6. Type a 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 hidden on a generated receipt.

When a Hide on Receipt rule is configured, a Visibility rule item is displayed in the Rules section of the Properties panel 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.