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

    i want to increase upload a file text box length..

    Asked by oceanalpha1 on July 07, 2012 at 12:48 AM

    http://www.oceanalpha.com/freesample.html

    i want to increase upload a file text box length..

    Page URL:
    iwanttoincreaseuploadafiletextboxlength..

  • Profile Image
    JotForm Support

    Answered by idarktech on July 07, 2012 at 02:41 AM

    Hi,

    That's how it works on Firefox and you can't changed it. Some other browsers doesn't support CSS styling for file input type. However, I found this workaround but I guess it's not very convenient as it uses custom scripts, if you are familliar with this please take a look at here: http://www.quirksmode.org/dom/inputfile.html

    Just in case you want to align your file upload field to the right, you may use this CSS code.

    .form-upload{

    width:212px !important;

    text-align: right !important;

    }

    Thanks!

  • Profile Image

    Answered by oceanalpha1 on July 07, 2012 at 03:29 AM

    actually i need to increase the length of text box of browse button

  • Profile Image
    JotForm Support

    Answered by idarktech on July 07, 2012 at 03:59 AM

    Oceanalpha1,

    Like what I've said, file upload field is inherent to a browser and some of these browsers doesn't support css styling. Check your form with Chrome browser you'll see a big differences.

    Nevertheless, I'll try my best to find a very convenient workaround for this, but I can't promise anything. I'll just let you know once I got one ;)

    Thank you.

  • Profile Image
    JotForm Support

    Answered by idarktech on July 07, 2012 at 05:01 AM

    I guess this one would work but this is an ugly hack as we do not usually allow custom javascript injection with our form via form builder. Anyway, I hope this doesn't cause any issue. Here's how:

    1. Add Free Text HTML tool to your form.

    2. Click Edit HTML and then paste this code:

    <script>document.getElementById("input_18").setAttribute("size", "25");</script>

    3. Click Complete to save.

    You can adjust 25 on the code if it doesn't fit well. 

    Hope this works for you. Thanks!