• Resolved Maxcom

    (@maxcom)


    This is a question regarding an ability I read about in other replies in order to confirm a function vis-a-vis our needs.

    We have a form on a website which has many conditions. Its an enrollment form for students and the parent can add students to the form so a condition is “2nd student”, 3rd student, and each time they tick for another a set of fields applicable to enrollment display (some of which have their own conditions depending on the program).

    The issue is that if there are many students the pdf prints with the page break often between the a field name and the responses. It can be ugly and awkward.

    Our preference would be that each student’s fields & responses print on its own page.

    From what I have read the pagebreak tag would allow us to insert an invisible field in the form editor that is a pagebreak that only applies on outputting a pdf print. So we would insert a pagebreak tag prior to the commencement of “the fields “Student 1” fields, “Student 2” fields, etc (the form allows up to half a dozen).

    Can you confirm this is an intended use of the pagebreak tag? And would any other tags be needed? And do we need the pro version for this function and if so which “extension”. Please note this is an instance where the pdf is being printed to paper. Not sure if that makes a difference.

    Thank you in advance for your time responding to this question.

Viewing 1 replies (of 1 total)
  • Plugin Author Jake Jackson

    (@blue-liquid-designs)

    Hi Maxcom,

    Thanks for your interested in Gravity PDF!

    Based on what you’ve said, the pagebreak CSS class would be the better choice here. You can add it to the first field related to each Student in your form, and then a page break will be automatically added to the PDF right before that field. If any conditional logic you use prevents a student’s fields from showing, the PDF won’t have a bunch of empty pages.

    You can use the pagebreak CSS class with the free version of Gravity PDF and any of our four Core templates. If you’re after a different PDF design, we do have a number of paid Universal templates you can upgrade to.

    Please let me know if you’ve any further questions.

Viewing 1 replies (of 1 total)

The topic ‘pagebreak tag’ is closed to new replies.