Fillable PDF form with Anvil

Hello dear forummers!

I liked how @campopianoa presented PDF creation in Anvil

https://anvil.works/forum/t/fill-a-pdf-with-anvil-and-pdfrw/3522

An here one question:

How we can generate Fillable PDF form in Anvil while rendering Form to PDF?

Thank you in advance for you thoughts

The recommended way of doing this now, afaik, is the following:

  1. Have users type info into an Anvil form (with TextBoxes, Dropdowns, etc). This form does not have to look like the final PDF structurally.

  2. Then, pipe all the collected details into another form—setting the text property of Labels on this form to what the user entered. This form is then rendered with Anvil’s PDF functionality and has the desired structure of your final PDF.

I did that - problem is render time - 30 sec for just two pages Form
Your solution with uploaded to database PDF form working for 2 sec)

I don’t think I could have known that you took that approach from your question.

If you share a minimal clone, other can help more directly and possibly find optimizations.

Allan@ campopianoaHow you created your PDF with placeholders?
Using which software?