Scheduled and on-demand PostgreSQL backups with selective restore to S3 or Vercel Blob
Field Validators
Validation helpers for collection fields, covering regex, email, URL and IP address checks
Installation
pnpm add payload-field-validators About
Field Validators adds ready-made validation rules to text and number fields in a collection. Instead of writing the same checks by hand, you call a helper for the case you need: a regex match, a valid email address, a well-formed URL, or an IP address. Each helper returns the result Payload expects from a field validator, so a failed check stops the save and shows an error in the admin panel.
You can set your own error message for any rule, or stack several conditions on one number field and show a different message for each. Conditions can also be written as plain comparisons, so a range or integer check takes one line.
Package info
- Package name
payload-field-validators- Latest version
0.2.3- Unpacked size
- 20 kB
- License
- MIT
- Weekly downloads
- 5
- Last publish
- Mar 30, 2025
More from kfiross
View profileSends push notifications to phones and browsers through Firebase Cloud Messaging
Browse, upload and delete S3 bucket files from the Payload admin
Generates custom IDs for Payload collections, such as UUIDs or auto-incremented numbers
Similar plugins
More in FieldsBuilds site and admin themes from color harmonies, with contrast checks in light and dark
Pedigree fields, relatives and family-tree views for Payload collections
Color, icon, encrypted and unit-aware measurement fields for Payload admin
Adds theme presets, live preview and contrast checks to the Payload admin
Groups Payload fields inside a drawer that opens from a button or icon
Adds a barcode scan button to text fields in the Payload admin panel