If server side validation is beyond the scope of this plugin, does anyone know how to add client-side validation beyond the basic regex offered by the plugin?
I have a hard time believing that I’m the only person using this plugin who requires more complex validation than regex…
Thanks.
You can edit the contact-form-process.php and hack your own code in there.
You would need to trigger the processing of your code based on the extra field number you are using for the collector card number. if you have multiple forms on the site you would also need to trigger by form number also.
Hi Mike,
Thanks for your reply.
Do you have any examples or code snippets on how to hack the code for custom validation?
I guess if the only solution is to hack the core files, then any customization would be overwritten by a plugin upgrade, wouldn’t it?
Thanks again for your help.
custom code is a bit time consuming, I do not have the time, sorry.
yes, any customization would be overwritten by a plugin upgrade
Hi again,
I guess I’ll have to start from scratch instead of using a plugin. Oh well, thanks again for your help. If I didn’t have the custom validation requirement, your plugin would have been perfect.
Keep up the good work!