I successfully configured the form to send results via email, but currently, only the summary field is included in the email. How can I display other fields in the email as well? Additionally, I would like to customize the email message. Is there a way to do this?
I would also like the Submit button (labeled ‘Enviar’) to appear on the same page as the Next button (labeled ‘? Info…’). Is this possible?
Thank you
]]>Issue with the “Preview” Button: When clicking the “Preview” button to post the job, the screen briefly blinks and then clears the form without any confirmation message (e.g., “Thank you for submitting” or “Your job has been posted”). This makes it unclear whether the job was successfully posted. Is this a known issue, or is there something I might be missing in the process?
]]>add_filter( 'forminator_custom_form_submit_errors', 'check_form_data', 99, 3 );
function check_form_data( $submit_errors, $form_id, $field_data_array ) {
? ? $valid = false;
? ? $antibotFieldName = "";
? ? foreach( $field_data_array as $val ) {
? ? ? ? if( $val['placeholder'] == 'antibot' ) {
? ? ? ? ? ? $antibotVal = $val['value'];
? ? ? ? ? ? $antibotFieldName = $val['name'];
? ? ? ? ? ? if($antibotVal == ""){
? ? ? ? ? ? ? ? $valid = true;
? ? ? ? ? ? }
? ? ? ? ? ? break;
? ? ? ? }
? ? }
? ? if( ! $valid ) {
? ? ? ? $submit_errors[][$antibotFieldName] = 'Antibot verifica fallita!';
? ? }
? ? return $submit_errors;
}
but I can’t make it work, it’s ignored..am I missing something?
Thanks
]]>