Custom field validation allows you to define formatting rules for the custom fields in your Koalect forms. When a user fills in a field that has validation enabled, they are guided to enter the correct format and cannot submit the form until the input meets your requirements.
This helps your organisation collect clean, consistent data without relying on manual corrections afterwards.
Which custom fields support validation?
Validation can be added to custom fields of the following types:
- Text
- Number
- Textarea
Which validation rules are available?
You can combine multiple rules on a single field. The following rules are available:
Length
- Minimum number of characters
- Maximum number of characters
Character restrictions
- No spaces allowed
- No numbers allowed
- No letters allowed
- No special characters allowed
Format rules
- Cannot start with a space
- Cannot start with a hyphen (-)
- Cannot start with a dot (.)
Rules can be combined freely. For example, you could require a field to be between 5 and 10 characters, contain no spaces, and contain no letters — useful for reference codes or membership numbers.
How do I set up validation on a custom field?
Go to MyKoalect > Settings > Custom fields, open the field you want to configure, and scroll to the new Validation section. Toggle validation on and select the rules that apply to your field. No technical knowledge or developer support is needed.