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

  • Profile Image
    mediaclips
    Asked 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
    mliz
    Answered 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.