Unique ID Error
-
I’m trying to use:
$ninja_forms_processing->get_error(‘unique_id’)
to get the error message for “invalid email” and “wrong answer to spam question”Which are their “unique ID” ?
My function is:
function ninja_forms_newdisplay_error(){ add_action( 'ninja_forms_pre_process', 'ninja_forms_newdis', 100 ); } add_action( 'init', 'ninja_forms_newdisplay_error' ); function ninja_forms_newdis(){ global $ninja_forms_processing; $xxx = $ninja_forms_processing->get_all_errors(); $xxx = array('unique ID for INVALID EMAIL' => array('error_msg' => 'MY MESSAGE', 'display_location' => 'MY LOCATION')); }
Tks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Unique ID Error’ is closed to new replies.