Hiding fields or sections on PDF template (Hide Condition)

Hello,

We are trying to dynamically build a pdf using plumsail Power Automate. This maybe more of a PDF editor question but wanted to ask here if anyone can assist. We want to populate a list of questions that the user selects and then display it on PDF using plumsail and power automate to generate it. We have 10 placeholders for the questions they add using pdf template. But if they only add lets say 5 questions, we want the placeholders with no questions to hide. We were able to do that using hide condition on pdf template but there is still the white spacing that shows up on the PDF. Is there anyway to hide that spacing. I'm learning pdf editing and been trying to see if this is possible thru pdf template.

Is there a way to do the same similar but with sections on the page and if the section isn't used, we hide the section on the pdf template?

Currently we are using adobe acrobat pro but if there are any other editors that can do this better programatically thru jquery/javascript or css, would appreciate the help.

Thanks

Hi @lovevietnam,

We don't have specific recommendations regarding the PDF editor. We have an article on creating a PDF form with Acrobat Pro, check this out

Create fillable PDF

Otherwise, you may consider using Plumsail Forms instead of the PDF form. In that case, the users fill a form and then the replies go to a DOCX template and saved as a PDF report.

Please check out the examples

Start Plumsail Documents process from Plumsail Forms

Create PDF documents from a DOCX template from Plumsail Forms

It's also possible to use hide-block-if formatter in the DOCX template to hide some values.

Best regards,
Petr
Plumsail team

Thanks for your response. We like how we can easily populate the pdf with the questions to the pdf template using plumsail. Will we be able to dynamically create a plumsail form with power automate?

We would like it to be a fillable PDF. Would the doc convert to a fillable PDF. Would the free text fields on world convert to a fillable field on the PDF when converted? Or are you thinking of a fillable word doc? We already have hte process to build the questionnaire on SharePoint. We just need to convert that to a fillable form.

Hi @lovevietnam,

Regarding the editing and hiding fields in the PDF form, I think it's better to check the Adobe community.
Unfortunately, a DOCX template cannot be converted into a fillable PDF form, only saved as a static PDF.

If you already have a form with questions, you can fill a DOCX template with the answers and use hide-block-if formatter to hide some fields in the DOCX if the answers are missing.

Best regards,
Petr
Plumsail team