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

Question

Question

Cloud - Option to apply CSS to PDF's generated from form submissions

asked on August 3

A customer noticed that their CSS does not apply to the PDF's that Forms generates as part of it's On Event Completion, Email Activities, and Archive activities. I verified this. Is CSS only for web forms and not PDFs?

It seems it was this way in On-Prem as well.

0 0

Replies

replied on August 4

That's not expected, though may be caused by custom CSS. Please open a support case and attach a sample process.

0 0
replied on August 4

I need to get keep them focused on existing support cases before having them look at this. However in on-prem, any css applied to fields does not apply in the PDF image. I was told it was because the field types change (although what does it matter if we are just capturing an image of what the form looks like and the formatting is already done) I think it might be the same in Cloud.

0 0
replied on August 4

If you're setting CSS selectors that apply specifically to input, textarea, or dropdown elements, then it would absolutely matter.

CSS set for fields can be applied perfectly fine; it's the selectors that make a difference because you're not just "printing" an image of the page, it is using the HTML in a more robust way to create a document.

And there's a legitimate reason for converting inputs into div elements when rendering or displaying a read-only task; you wouldn't want your form to have gray boxes and other UI elements all over the place.

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

Sign in to reply to this post.