What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    How can I make the width of a textbox 100%?

    Asked by rbcn3 on November 17, 2015 at 08:10 AM

    How to make a width 100% text box. I add 100% or auto on settings but it dont' works.

    Page URL:

  • Profile Image

    Answered by KadeJM on November 17, 2015 at 11:07 AM

    I see that you are looking to force the width of your textbox to be 100%.

    The existing size feature only adjusts the width based on a px value.

    To make this happen on your form you need to use injected css or our form designer css helper.

    Also, please see the example screenshots for comparison below.


    Demo Form:



    Here is the CSS CODE: 

    #input_3 { width: 100%; }


    Normal Textboxes:


    Textbox 2 with Injected CSS to force 100%: (notice it's a tadbit longer than Textbox 1)


    Textbox 2 again with Injected CSS to force % at 250% just to show you it's working:

  • Profile Image

    Answered by rbcn3 on November 18, 2015 at 06:01 AM

    ¡It works perfectly! thank you KadeJM.