Hi, unfortunately at present this feature is not available in our plugin. I have submitted a request to the developers to investigate further your request.
Thank you
Can you please guide what files or folder to look at?
In what file do I find the code that validates if the input is empty or not?
Please I need this.
Just tell me the file(s).
Hi.
There is no easy way of doing this at the moment, unfortunately. Frontend validation is controlled by JavaScript and you can’t just simply override it without possibility to ruin something.
I have added your request to our inner ticketing system though. Validating custom field input by specific rules sounds like a good feature.
Alright sounds good! Maybe adding a filter or something.
Will be awaiting for it!
Thanks
It would be great is we can add our own validation rules. Ie, validate if input is a url. etc. Thanks
Hi. This functionality will be available in the upcoming version of the plugin.
You can use JavaScript RegExp in the settings to achieve what you want. We have also added “Numbers only” pre-defined validation rule so you can use it right away without the need to compose your own validation RegExp.
If you want to test this functionality before it is released, you can download testing version from plugin’s website.
Current stable version 1.9.18 has this functionality implemented.
Let me know if you had a chance to test it.