Quantcast
Channel: Topic Tag: forms | WordPress.org
Viewing all articles
Browse latest Browse all 3050

Diego de Oliveira on "[Plugin: Caldera Forms] Validating fields with wrong values"

$
0
0

Hi, David, how are you?

I've been using Caldera Forms for a while and got a tricky problem to solve. In a form, I have a field where the user should fill with his/her document number (we call it CPF or RG here in Brazil). I set up a custom mask for these fields and made them as required fields. But some users are filling these fields with only 0 characters (like 000.000.000-00), which of course are invalid.

My question is: is there a way to prevent the form to send when these fields are filled with only zeros or invalid characters?

Thanks for your attention!

https://wordpress.org/plugins/caldera-forms/


Viewing all articles
Browse latest Browse all 3050

Trending Articles