Input validation
You can control what kind of responses people can provide on a page by using Capable Forms.
This feature allows you to specify the exact type of information users should submit, ensuring that they fill in precisely the right details you require. By doing so, it becomes much easier to collect data in the correct format, avoiding any irrelevant or incorrect information from being entered.
You must use the Form macro container to validate fields properly.
Number fields can have a minimum and maximum

Text fields can have a maximum character length

