mld has asked for the wisdom of the Perl Monks concerning the following question:
I am in process of creating a web form. I am uisng CGI module.
$q->popup_menu(-name=>'Summary', -values=>['black','brown','red','yellow'], -default=>'red')
Syntax for defining lables is a follows
$q->popup_menu(-name=>'Summary', -values=>['black','brown','red','yellow'], -default=>'red',\%lables)
Using above code I have created a combo box without lables.But I am not able to define label for the field following the above syntax adn also no error message is thrown
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Defining Lable for a field
by almut (Canon) on Apr 21, 2009 at 13:47 UTC | |
by mld (Acolyte) on Apr 21, 2009 at 13:57 UTC | |
by almut (Canon) on Apr 21, 2009 at 14:21 UTC | |
by Anonymous Monk on Apr 21, 2009 at 14:10 UTC |