- 28 Nov 2022
- 1 Minute to read
- DarkLight
Bookings must have notes
- Updated on 28 Nov 2022
- 1 Minute to read
- DarkLight
This validation rule prevents customers from placing a booking, unless they have added notes. Admins can still book for customers without having to add notes.
Click Settings > Validation rules.
Click Add rule.
Click on Manual entry.
Name your validation rule.
Add a Description for your rule to let other admins know what it does at a glance.
Toggle on This rule is active.
Select Bookings under the Record type drop-down list.
Add the Error message to display if the validation rule is not met.
Add the following code snippet to the Formula field.
record.Coworker = null OR record.Notes <> null
Use the following snippet instead:
record.Notes <> null
Click the Save Changes button.
All done! We recommend testing the validation rule by logging in to the Members Portal with a dummy customer account and try to book a resource without adding any notes. You should see your error message if the rule is working as expected.