Hi,
I wish I can Block Free Emails (Gmail, Yahoo) and allow Business emails in forms. I've seen how to do so with server side validation, but I wish I can do it wit client-side validation.
Any advice?
Thanks
You want to block the largest email providers in the world? Well sure off you go, you can make a custom JS validation there's a FAQ about it.
https://www.chronoengine.com/faqs/74-chronoforms/chronoforms6/5293-validating-fields
Hi Healyhatman,
as a matter of fact I need people's corporate email adress and I want to prevent them to put generic email adress.
I've already found a very good post by Greyhead :
https://www.chronoengine.com/forums/posts/t84695/block-e-mail-domains
But in this post it seems to me that it is a server side validation in php. I need instead a a client side validation.
So I though I need to put the name of a javascript piece of code in the Custom Function Box of the element I need to validate. Can I put a php code instead ?
Thanks!
No you can't, because PHP is serverside code. You'll have to code it yourself. Also be aware that a lot of small businesses still use GMail addresses, especially if they don't have their own website and sometimes even if they do.