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

Question

Question

Default Laserfiche Form Attachment Settings

asked on February 1, 2024

Hi all,

 

Perhaps I am searching under the wrong terminology but I cannot find anything about how Laserfiche outputs it default form attachments. I am having an issue where I have a multi-line comment in my form but when it sends attachments via the email notification task, it comes out as a single line. 

 

Where can I configure the way it outputs the comments or control over the PDF?

e.g below my event description text in forms and then in the PDF

0 0

Answer

SELECTED ANSWER
replied on February 2, 2024

Just to add to this, we've been using Rich Text fields in the Modern Designer to get the autogrow functionality (where the box expands to fit the text being entered). But, we sometimes add the following CSS to make the Rich Text box look like a Multi-line field (especially handy on subsequent forms where the field will be read-only and you don't need to take all the space for the Rich Text toolbar):

.rtfHideToolbar  .note-toolbar {
  display:none; 
} 

.rtfHideToolbar  .note-editable {
  min-height: 100px !important; 
} 

 

6 0

Replies

replied on February 1, 2024

Have you tried using the Rich Text field instead?  I haven't tried it myself, but wonder if it keeps the formatting when generating a pdf.

1 0
SELECTED ANSWER
replied on February 2, 2024

Just to add to this, we've been using Rich Text fields in the Modern Designer to get the autogrow functionality (where the box expands to fit the text being entered). But, we sometimes add the following CSS to make the Rich Text box look like a Multi-line field (especially handy on subsequent forms where the field will be read-only and you don't need to take all the space for the Rich Text toolbar):

.rtfHideToolbar  .note-toolbar {
  display:none; 
} 

.rtfHideToolbar  .note-editable {
  min-height: 100px !important; 
} 

 

6 0
replied on February 2, 2024

What an interesting workaround, I'm going to keep that in my back pocket. Thank you for that!

2 0
replied on February 1, 2024

That doesn't sound like normal behavior. Do you have any custom CSS on the form?

0 0
replied on February 1, 2024 Show version history

Thanks Jason,

 

Yes I do, 

Mind you I am not proficient in CSS so I just hacked and slashed it! It was mainly to take some padding out of a table from memory.

 

div.shan table {
 border: none;
}
div.shan table td  fl-single-line {
padding: 0 !important;
}

div.shan table td .fl-component input[type=text] {
border: none !important;
}

 

0 0
replied on February 2, 2024

That's odd. I don't see anything in there that I'd expect to affect the rendering of the field in the saved copy.

Do you get the same results if you remove all custom CSS/JavaScript?

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

Sign in to reply to this post.