![]() |
| ||
| Fields in HTML Form I am doing a perl project for school in which I am using CGI.pm. I am a complete perl novice. With the following: use CGI; My question is what is the syntax to add a hidden form field? --- I have a second question as well. I would like to create a form field that is a drop down menu. print $query->popup_menu({-name => "foo", -values => ["bar", "baz", "bat"]}); I have an array of possible values for the dropdown, @values. However, doing -values => $values doesn't seem to work, so how exactly can I do it? :) Is it @values or am I just completely way off base? Gah! :) |
| ||
| Re: Fields in HTML Form PS ... Yes, I know that I could just use a print statement to write out <input type="hidden" ... but I was wondering if there was some CGI.pm shortcut. |
| ||
| Re: Fields in HTML Form Well I just answered my hidden filed question ... http://search.cpan.org/dist/CGI.pm/C...A_HIDDEN_FIELD |
| ||
| Re: Fields in HTML Form I'm sorry folks, I still can't get the hidden form field to work for some reason? |
| All times are GMT -4. The time now is 7:08 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC