This documentation page is for Quform version 1 and may not be applicable for Quform 2 click here to visit the documentation for Quform 2.
This hook is run while the form is being processed, after the form data has passed validation.
iphorm_post_validate
This hook is run for all forms.
Example
1 2 3 4 5 | function my_post_validate($form) { // Custom code } add_action('iphorm_post_validate', 'my_post_validate'); |
function my_post_validate($form) { // Custom code } add_action('iphorm_post_validate', 'my_post_validate');
Parameters
- $form – the iPhorm instance
Accessing form data
iphorm_post_validate_X
This hook is run for a single form, replace X with the form ID.
Example
1 2 3 4 5 | function my_post_validate($form) { // Custom code } add_action('iphorm_post_validate_1', 'my_post_validate'); |
function my_post_validate($form) { // Custom code } add_action('iphorm_post_validate_1', 'my_post_validate');
Parameters
- $form – the iPhorm instance