Field types
When a submission arrives, Seal Static checks the field names and assigns a type to each one. This type information is used for display and validation.
Detected types
| Type | Detected from field names |
|---|---|
email, e-mail, mail
|
|
| Phone |
tel, telephone, phone, mobile, cell
|
| URL |
url, website, link
|
| Number |
quantity, count, amount, price, age
|
| Date |
date, birth, dob
|
| Boolean |
yes, no, is_, has_, agreed, checked, subscribed
|
| Text | Everything else |
Detection is based on the field name containing a matching keyword (case insensitive).
Example
A form with fields name, email and message produces:
-
name→ text -
email→ email -
message→ text
Email fields are validated for format and checked against known spam domains. Fields that change type (because you renamed them or added new ones) are detected on the next submission.