Sauter la navigation

[Résolu] Data validation on input forms

This support ticket is created Il y a 6 années et 1 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Christian Cox Il y a 6 années et 1 mois.

Assisté par: Christian Cox.

Auteur
Publications
#1144217

is it possible to do data validation for telephone nr's in an input form? We want to validate the number of characters in the input screen.

#1144496

Hi, this type of validation is not built-in to Forms, but you can apply your own custom validation on the backend using our Forms API cred_form_validate:
https://toolset.com/documentation/programmer-reference/cred-api/#cred_form_validate

Front-end validation isn't customizable, as there is no JavaScript API for Forms.