-
pixelwwAnswered on June 18, 2021 07:43 AM
Hi, most of the forms I will be creating will be printed. Is there a way to lengthen the first and last name fields to allow people to write on the print outs? (see form in account) Thanks!
-
Billy JotForm SupportAnswered on June 18, 2021 10:25 AM
Hi there!
I hope you're doing well and thanks for reaching out.
There are a couple of ways on how to increase the width of the input field for the first and last name. Please see the details below:
- Un-shrink the element. Click the Properties icon -> Advanced -> Disable Shrink element
- If you want both the first and last name field to take up the whole row, you can inject the CSS code below:
Here's our guide on how to inject CSS code into your form.
Code:
#cid_8 div {
display: flex;
flex-direction: column;
}
#cid_8 div span {
margin: 0;
width: 100%
}
Let us know if you need further assistance.
- Un-shrink the element. Click the Properties icon -> Advanced -> Disable Shrink element
-
pixelwwAnswered on June 18, 2021 11:11 AM
Thanks, I appreciate your help! I don't think I can inject the CSS into the PDF form. These will not be online (YET).
Any suggestions?
-
Alexander JotForm SupportAnswered on June 18, 2021 04:15 PM
Greetings, 👋
"I don't think I can inject the CSS into the PDF form. These will not be online (YET)."
Please, could you share some details on your request?
Do you want to increase the width of the input form in the PDF form or it's the name of your form?
You can inject this code even if your form isn't published.
Thanks,
Alex -
pixelwwAnswered on June 18, 2021 05:12 PM
Hi and thank you Alex - please see the screenshot, I don't have that CSS option in the PDF Editor.
-
Billy JotForm SupportAnswered on June 18, 2021 07:39 PM
You're right. You can not inject CSS code in the PDF editor. The PDF form just copies the online form connected to it. However, when you make changes to the online form, it will not automatically reflect on the PDF form.
What we need to do is to inject the CSS code in the online form first. Then, create a new online PDF form by clicking +New PDF.
Let us know if you need further assistance.