Hi,
thanks for the quick response.
I checked the hook and created a snippet for the validation I have added the following code.
add_filter('quillforms_entry_field_validation','quillform_validation',10,6);
function quillform_validation($validation_message,$block,$block_type,$field_answer,$entry, $form_data) {
if($block['name']=="email") {
$email = $field_answer;
if ( !filter_var( $email, FILTER_VALIDATE_EMAIL ) ) {
$validation_message = 'Please enter a valid email.';
}
// some 3rd party api call. and return error message
}
return $validation_message;
}
this returning 400 response and message in network tab, but not showing the message just sowing this
Can”t connect to the server right now! but not the actual message