• yassine1995

    (@yassine1995)


    Hello i have signature in formidable form but dont work in pdf field give me only field signature without adding the id i want to add signature field in pdf is that possible ???

    thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author E2Pdf

    (@oleksandrz)

    Hi,

    Do you use the “signature” field inside E2Pdf Template to output the “signature”? Is it mapped to the “Signature” field id? See please the screenshot with the setup: https://prnt.sc/PcVtzSXZGux3

    If yes, attach please a screenshot of the “Properties” of your “Signature” object and a screenshot of how it’s showing inside the PDF.

    Thread Starter yassine1995

    (@yassine1995)

    Thanks i use map field it work but the color is blue is there option to change it

    Plugin Author E2Pdf

    (@oleksandrz)

    The color of the “typed” signature must be set via “Right Mouse Click” -> “Properties” -> “Font Color”.

    To change the color of the “drawn” signature, it must be added code to your theme functions.php as a “signature” controlled by Formidable Forms (#ff0000 must be changed to your color):

    add_filter('frm_setup_new_fields_vars', 'sig_output_options', 30, 2);
    add_filter('frm_setup_edit_fields_vars', 'sig_output_options', 30, 3);
    
    function sig_output_options($values, $field, $entry_id = false) {
    
        if ('signature' !== $field->type && !isset($field->field_options['label1'])) {
            return $values;
        }
    
        global $frm_vars;
        if (!empty($frm_vars['sig_fields']) && is_array($frm_vars)) {
            foreach ($frm_vars['sig_fields'] as $sig_key => $sig_field) {
                $frm_vars['sig_fields'][$sig_key]['text_color'] = '#FF0000';
            }
        }
    
        return $values;
    }
    Thread Starter yassine1995

    (@yassine1995)

    THANKS i will check

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘signature for formidable forms’ is closed to new replies.