Some basic validations which needs to be for form fields.
1. Max characters. (e.g max 30 characters).
2. Min characters. (e.g min 30 characters).
3. Number field validation (is numeric value validation).
4. Special character validation.
5. Max x or min x selections for mutli-select dropdown.
6. Aphanumeric text only.
Do the fields have any of these options provided by default from GD custom posttype plugin?
Validation 1,2,3,5 needs to there as won’t be any restriction on input provided by the user.
For us to use our own extra JS file for validation we need some control over the fields on the add custom listing page (front-end submission form). Is there any way to add classes to those fields?
If none of the above is present are there any hooks or filter which can be used for validation purpose?