AgileApps Support Wiki Pre Release

Part 2: Validating Data in a Form

From AgileApps Support Wiki

In this part of the exercise, you validate data in the Price field of the Line Items Object.

  1. Go to the Configuration page, under the Customization tile, click Objects. Navigate to Line Items > Validations.
  2. Click New Validation.
  3. Fill in the Form as shown:

    Objects Line Items Validations PriceCheck.png

  4. Click Check Syntax to ensure there are no errors.
  5. Click Save.
  6. To test this validation:
    1. Click the LINE ITEMS tab, and then create a New Line Item, but do not provide a price.
    2. When you click Save, you see the error message that you specified:

      Create New Line Item Error.png

      You cannot save the Line Item until you provide a value in the Price field that is greater than zero.

Previous

Next