CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
question about CGI Modul

 



Manuel
Deleted

May 21, 2000, 12:58 PM

Post #1 of 2 (297 views)
question about CGI Modul Can't Post

Hello!
----
use CGI qw(:standard :html3);
print popup_menu({-name=>'version',
-values=[A,B,C],
-default=>'A'}),....
this code print this out
* == instead > and <
*SELECT NAME="version"*
*OPTION SELECTED VALUE="A"*A
*OPTION VALUE="B"*C
*OPTION VALUE="C"*C
*/SELECT*
and how I can print following out useing
print popup_menu({-name=>'version',.....
* == instead > and <
*SELECT NAME="version"*
*OPTION SELECTED*A
*OPTION*B
*OPTION*C
*/SELECT*
?? I don't want the "value in *option*"!!
????????????????
Is there a possibility to don't write the value in *option* only the *option* A,B,C ???


Jonas
Deleted

May 25, 2000, 12:41 AM

Post #2 of 2 (297 views)
Re: question about CGI Modul [In reply to] Can't Post

hi!

what about:

use CGI qw(:standard);

print popup_menu(-name=>'version', -values=>'aaa', -labels=>'triple a');

you get the 'aaa' in the option attribute, but you change the output seen by the user to 'triple a'

bye
Jonas

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives