Skip to main content
Question

Form Text Size

  • July 23, 2019
  • 0 replies
  • 76 views

How can I increase the text size for an entire form. 

We have a form that we are going to use to electronically quote from. This needs printed off and presented to the customer but as of now its printing off at maybe 8 pt font? This wont work and we need a way to make the entire forms font to increase. Not just using rich text fields to increase the field title and not changing it to "relaxed". 
This topic has been closed for replies.

  • Author
  • Registered
  • July 23, 2019
I appreciate the quick reply. I have already made this change and it worsens things for me which is why I said that it wouldnt work in my original post. 
Relaxed makes my form go from 1 page in length to 2 pages with little to no text increase, rather more of a bigger spacing,  and also it goes off the edge of the page to the right as well now. QB forms don't know how to fit to page when printing nor give an option to fix this. Im looking for a code of some sort to put at the top of the form that adjusts the text size for the entirety of the form. 

  • Registered
  • July 23, 2019
You can play with the Image On Load technique and other variations to do this automatically in certain places. Play with this next thing too because it needs it, I had to adjust the sheet index(window.document.styleSheets[3]) to insert it into an empty sheet(I tried on stack overflow first) because you cannot insert CSS into a stylesheet that is called from an outside URL like they had. The way I did that was to just type "window.document.styleSheets" and see which sheets were returned and pick one that was "local" rather than from a cdn. This command will make everything in the body larger but you can adjust that to change whatever you want.

var sheet = window.document.styleSheets[3];
sheet.insertRule('body { font-size: 3em; }', sheet.cssRules.length);

There might be other ways and I'm not going to guarantee this will even work for your use case, but it is worth a shot.

The other option is to use Exact Forms Plus from Juiced and then you have perfect control over the PDF or Word document which is created when a button is pushed.  Eventually 100% of my clients use EF+ when the need a customer facing beautiful document.


Are you familiar with that add on?


This page has feature and a demo


https://www.juicedtech.com/exact-forms-plus  


  • Author
  • Registered
  • July 25, 2019
I have started using Exact Forms- included with QB and not the add on EF+. Exact Forms seems to be doing the trick pretty well without paying additional for EF+ for right now. 

One thing im still figuring out how to do is use conditional logic in Exact Forms. Its possible based on the article QB posted online, but havent figured out how to do If statements yet