You are viewing limited content. For full access, please sign in.

Discussion

Discussion

Forms: Need to hide page titles but keep pagination when saving form as PDF to repository

posted on August 29, 2022

I set up the pagination to hide the page titles in the form by setting pagination style to None.  This works fine when you're in the forms process and working on a task that uses that form.  However, I would like to keep the page titles hidden when the form is saved as a PDF to the repository while also keeping the page breaks. 

My use case is a sales contract.  The submitter of the form fills out the contract details on Form1; these same fields exist on Form2 but they are hidden. The values in these fields are passed to a two-page contract on Form2 in custom HTML fields.  In this two-page contract, I would like to keep the page breaks, but remove the page titles so the customer does not see them when we email the PDF to them.

If there is any way to hide the page titles when saving the form to the repository, please advise.

Thank you.

 

0 0
replied on August 29, 2022

Hi Mike,

To keep page breaks when saving form, just uncheck 'Remove page breaks from saved forms' from pagination settings.

To hide page titles when saving form, you may use CSS like, which will also affect display of submitted form.

.cf-page-readonly>h2 {
    display: none;
}
4 1
replied on August 30, 2022

Thanks Ziyan.  I'm already keeping the page breaks so the CSS is probably all I needed to add to this process.  I'll try it out!

Mike

 

0 0
replied on August 30, 2022

Ziyan; the CSS works in preview mode but it doesn't get saved that way when I store the document in the repository.

 

Here's the same section when the form is in process:

Here's the entire CSS in my form:

/*remove X from table rows to prevent deletion*/
.coverletterCustomers .cf-table-delete{display:none!important;}

/*reduce row spacing for tables*/
.cf-table .cf-field {padding:0px};

/*hide page break titles*/
.cf-page-readonly>h2 {
    display: none;
}

/*Displays two fields per line*/
.TwoPerLine{display: inline-block; width:365px;}
.TwoPerLine > .cf-field {width: 335px !important;}
.TwoPerLine .cf-medium {width:100%;}
 
 /* Displays three fields per line */
.ThreePerLine {display: inline-block; width: 33%;}

 
 /*Hides fields*/
.hidden {display:none;}

 

0 0
replied on August 30, 2022 Show version history

Hi Mike,

Please try update Line 5 from

.cf-table .cf-field {padding:0px};

to

.cf-table .cf-field {padding:0px;}

so that later CSS properties would work.

2 0
replied on August 31, 2022

Thanks for the correction, it works now.

 

0 0
replied on October 13, 2023

@████████ I don't see those pagination settings in the new designer. Are they there? Thanks!

0 0
replied on October 19, 2023

Hi @████████, in new form designer, click on the form, you can find pagination settings along with other forms settings in right pane.

Using the Layout Page to Add Fields to a Form (laserfiche.com)

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.