2 Replies Latest reply on Sep 8, 2016 6:54 AM by philmodjunk

    Record level validation


      i want to be able to have users enter whatever garbage they want until they say the record is complete. At that point i want to execute all field level validation/edits, cross field dependency validations and cross record validations. How do i do this?

        • 1. Re: Record level validation

          Defining field validation


          You can validate any field via a calculation directly in the schema itself.


          Alternatively, you can use the OnRecordCommit layout script trigger to perform a scripted validation before allowing a record to be saved.

          1 of 1 people found this helpful
          • 2. Re: Record level validation

            And sometimes a developer will set up a layout of all global fields for the user to enter data for a new record with a "save" or "submit" button that creates a new record and transfers the data from the globals to corresponding fields of the new record. If such an approach were used, the validation scripting could be part of the script performed by that "save" button.

            1 of 1 people found this helpful