How increase width of file upload field?

  • Profile Image
    Asked on January 13, 2012 at 08:14 AM

    At the moment the file upload field on the form is about 150px wide and shows about 20 characters. This is often not enough to display the whole path to the file to be uploaded.

    Is there a way to increase the width? The size button doesn't show at the top.


  • Profile Image
    Answered on January 13, 2012 at 10:26 AM

    File upload fields are different from text boxes. By HTML standards, a file input has no width or size property like that of a text box, so what you want to do is not possible.

    There are hacks that involve custom scripting, but you cannot do it from within JotForm since we do not allow altering form source codes that are hosted in our server.

    You may apply these hacks (such as this one) if you get the form's source codes and place it on your own webhost.

  • Profile Image
    Answered on January 13, 2012 at 11:42 AM

    Thanks. I'll explore further.