custom validation rule on custom field
-
Hi
First of all thanks for such a nice plugin. You have done a very good job.
I am using your plugin and I have a custom field say coupon code.
To check if user have coupon code I can edit you plugin in simplr_form_functions.php which is wrong way.You have given a filter also for custom validation.
//use this filter to apply custom validation rules. $errors = apply_filters('simplr_validate_form', $errors);
Now how can I use this filter in my function.php.
Because to validate custom field I will need $data,$atts How I will get them in my funciton.phpplease suggest.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘custom validation rule on custom field’ is closed to new replies.