---
title: "Customers must be over 18 to sign up"
slug: "customers-must-be-over-18-to-sign-up"
updated: 2026-04-21T13:02:50Z
published: 2026-04-21T13:02:50Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.nexudus.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Customers must be over 18 to sign up

This validation rule helps you prevent customer registration if the user doesn't confirm they are over 18 when signing up. Setting up this validation rule is a two-step process. 

## Step 1. Creating a Custom Field 
Since the signup form doesn't include a field that lets customers confirm they are over 18 by default, you need to create a custom field and include it in the signup form.

1. {{snippet.FirstStepProcedure}}
2. {{snippet.CRMCustomFields_Path}}
3. {{snippet.AddCustomField_Step}}
4. Add your age confirmation prompt in **Field name**. 
5. Select *Customer (publishable)* as the **Record type**.
6. Select **Options** as the **Field data type**.
7. Add **Yes** and **No** as Available options.
8. Select **Account details** as the **Show field** option.
9. Click on the **Visibility** tab. 
10. Enable the **Include this field in the sign-up form** and **Make this field required** toggles.

10. {{snippet.Save_Changes}}

{{variable.IntegrationComplete}} You now need to check the number associated with your custom field. 

Simply tick the checkbox next to any of the listed custom fields and click **Export** in the *Bulk actions* menu. 

Open the XLS file that you just exported on your device and check your custom field's number in the **CustomFieldIndex** column. Copy and save this number, you'll need it in the next step. 

![image.png](https://cdn.document360.io/4f9a66c7-3dbb-4052-97d8-5439302e1512/Images/Documentation/image%28772%29.png){height="" width=""}


1. {{snippet.FirstStepProcedure}}
2. {{snippet.ValidationRules_Path}}
3. {{snippet.AddValidationRule_Step}}
4. {{snippet.ManualEntry_Step}}
5. Name your rule. 
6. Add a short **Description** of your rule.
 
7. Enable the **This rule is active** toggle.
8. Select **Customers** in the **Record type** {{variable.dropdownlist}}.
9. Add the **Error message to display if the validation rule is not met**. 
10.  Add the following snippet to the **Formula** field. 
```
record.IsNew = False OR record.Custom= "Yes"
```
11. Add your custom field number after **record.Custom** without adding any space. 

For example if your custom field number is 1, your formula would be: 

*record.IsNew = False OR record.Custom**1**= "Yes"*

12. {{snippet.Save_Changes}}

All done! Your validation rule is now live. We recommend you test your rule to make sure it works as you intended.
