Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI CPAN distribution.

Report information
The Basics
Id: 6370
Status: resolved
Priority: 0/
Queue: CGI

People
Owner: Nobody in particular
Requestors: anil [...] anilnatha.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Addition of features
I was creating a form the other day and noticed that three basic html paramters for input fields and other form fields as well are missing. Using CGI.pm you can't specify: 1. tabindex 2. css class 3. css style It would be helpful if these three parameters were capable of being set when creating forms using CGI.pm an example of this would be: print $query->textfield( -name => "name", -default => "My Name", -size => 50, -maxlength => 80, -tabindex => 1, -class => "formField", -style => "font-family: Arial;font-size: 12px;" ); Anyways, I just felt that these items would be helpful if implemented. Thanx ~Anil
Actually, all those arguments are accepted. Please reread documentation. [guest - Thu May 20 16:38:00 2004]: Show quoted text
> I was creating a form the other day and noticed that three basic html > paramters for input fields and other form fields as well are missing. > > Using CGI.pm you can't specify: > > 1. tabindex > 2. css class > 3. css style > > It would be helpful if these three parameters were capable of being > set when creating forms using CGI.pm > > an example of this would be: > > print $query->textfield( -name => "name", > -default => "My Name", > -size => 50, > -maxlength => 80, > -tabindex => 1, > -class => "formField", > -style => "font-family: Arial;font- > size: 12px;" > ); > > Anyways, I just felt that these items would be helpful if implemented. > > Thanx > > ~Anil