Prevent members from booking if they don't have booking credits
  • 14 Nov 2022
  • 1 Minute to read
  • Dark
    Light

Prevent members from booking if they don't have booking credits

  • Dark
    Light

Article summary

This validation rule prevent members without any money credit to book resources. Contacts can still book resources with or without credit.

This rule doesn't check if members have enough money credits to cover the price of their booking.

It is simply a way to ensure they have some money credit (above 0) in their account before letting them book.


  1. Log in to dashboard.nexudus.com if you aren't already.

  2. Click Add rule

  3. Click on Manual entry

  4. Name your validation rule.

  5. Add a Description for your rule to let other admins know what it does at a glance.

  6. Toggle on This rule is active.

  7. Select Bookings in the Record type drop-down list.

  8. Add the Error message to display if the validation rule is not met.

  9. Add the following code snippet to the Formula field.

isLoggedIn = false OR record.Coworker.IsContact() OR BookingCreditAmount(record.Coworker) > 0
  1. Click the Save Changes button.


All set! Your validation rule is now active. You can test it by trying to book as a member without any money credit. If the rule works, you should receive the error message you defined.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence