cforms II User Forum

Registration is currently disabled.


Login form protected by Login LockDown.

Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
setting width of file upload box suggestion
May 15, 2008
9:57 pm

Please replace the ??? with your data!

  • Your URL:
  • The browser used: any
  • cforms version: 8..4x
  • Your Wordpress version: 2.5.1


Given the difficulties of styling form inputs of the file type (uploads), you CAN set a width by hacking the cforms.php file… so, my suggestion is to put a field into the section for file upload to add a numerical value (eg. 40 or 56, etc) which would be used in building the html of the input as in size="x"

I've simply added that to the elements used when building an input for upload, but any updates to the plugin will overwrite that…

so, suggesting you add this variable into the upload settings for each form and use it to add the size attribute directly to the tag.

May 16, 2008
7:20 am
Munich, Germany
Forum Posts: 6400
Member Since:
March 6, 2005

it's on the wishlist, see here as well.

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
24 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3758

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5356

Posts: 18736

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)