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

    My form is only 160 pixels wide is there a way to size down the upload

    Asked by mediaclips on January 28, 2012 at 11:52 PM

    My form is only 160 pixels wide is there a way to size down the upload field & button?

    This is a re-post of a comment on Quick Overview of Form Fields

  • Profile Image
    JotForm Support

    Answered by mliz on January 29, 2012 at 12:47 AM

    Unlike a text box the single Upload field which is actually a File Input does not have width properties so you can not format the size. With custom scripting there are several hacks that you can use to achieve what you wish to do. But since JotForm does not allow altering the source code if the form is hosted on our servers you may only apply these hacks (such as this one) if you get the form's source codes and place it on your own webhost.

    Another option is to  enable Multiple file upload since it does not use the file input field you can format the size with the use of Inject Custom CSS, you can use the CSS codes listed below:

    .qq-upload-success { width: 160px; }

    .qq-file-uploading{ width: 160px; }

    .qq-uploader{ width: 160px; }

    Let us know if you have further questions.