Making VAT Numbers a Required Field

Prev Next

This validation rules makes VAT numbers a required field for all new customers registered via the Admin Panel and the Members Portal.

This validation rule will also prevent customers and admins from updating other details if the customer doesn't have a VAT number on file.

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

  2. Click Settings > Validation rules.

  3. Add a Name for your validation rule.

  4. Select the relevant Location.

  5. Toggle on This rule is active.

  6. Add a Description for your validation rule.

  7. Select Customer from the Record type drop-down list.

  8. Add the following snippet under Formula.

record.TaxIDNumber <> null AND record.TaxIDNumber <> ""
  1. Add the error message you want to show customers and admins when they forget to specify a VAT number.

  2. Click the Save Changes button.


All set! We recommend testing your validation rule by creating a customer without adding their VAT number. If you see your error message pop up shortly after trying to save the new customer record, your validation rule is working as expected.