• Resolved ofrayechiel

    (@ofrayechiel)


    Hi, I’m using the PDF Add On.

    When a field is left blank in the submission, it does not appear at all in the PDF. I would like to have the field label/title and an empty space beneath it.

    Is there a way to make this happen?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @ofrayechiel

    I hope you are doing well today.

    Sound like a good feature, and I already pinged our Forminator Team to consider this as an update.

    As for now, a simple walkaround will be to use a separate rich text field in PDF edit more. In short, the change should look like this:

    Current state:
    Text 2 field has label Text 2 and it calls {text-2} value

    Walkaround:
    – Text 2 field has label Text 2 and value should be empty
    – create new rich text without any label and call {text-2} value

    With that Label will be always visible no matter if that field was filled or not.

    Kind Regards,
    Kris

    Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi again @ofrayechiel

    I have some update from our SLS Team that you could use this filter as a mu plugin:

    add_filter( 'forminator_pdf_hide_empty_fields', 'wpmudev_allow_empty_fields_pdf', 10, 5 );
    function wpmudev_allow_empty_fields_pdf( $hide_empty, $pdf_field, $form_id, $pdf_settings, $entry ) {
        return false; //false means empty fields will be included too
    }

    Kind Regards,
    Kris

    Plugin Support Jair – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @ofrayechiel,

    We haven’t heard from you in a while, we will go ahead and mark this thread as resolved. If you have any additional questions or require further help, please let us know!

    Kind regards,
    Zafer

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Empty Fields in PDF’ is closed to new replies.