473,388 Members | 1,423 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

submitting a menu in perl

when I create a menu in a dynamic document using cgi.pm how do I get
the menu to submit after someone makes a choice? I cant tell if theres
something special I have to do or if there is an error in how I've
done my code.

Thanks everyone,

Christopher
Jul 19 '05 #1
2 2461
Zaxil wrote:
when I create a menu in a dynamic document using cgi.pm how do I get
the menu to submit after someone makes a choice? I cant tell if theres
something special I have to do or if there is an error in how I've
done my code.


You can't. There are ways to do it using JavaScript, but most of them
make it hard or impossible to submit the menu for people with it disabled.

Jul 19 '05 #2
Zaxil wrote:
when I create a menu in a dynamic document using cgi.pm how do I get
the menu to submit after someone makes a choice?


_You_ (resp. your code) don't do anything.
It's the user who must initiate another HTTP request, thereby sending the
entered values back to the HTTP server.

Please note, your question has nothing to do with Perl but everything with
how HTTP and in turn CGI works. You may get much better advice in a NG that
is actually dedicated to CGI programming.

jue
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Michael | last post by:
I was asked to help a friend out with his site but ran into an issue. He currently wants a cgi to capture data, if the one of the variables is less than X, just send an email, if the variable is...
4
by: Mats | last post by:
Hi Maybee a little bit of topic, but is it possible to stay on the submitting page once you've clicked submit. This is to get processing done on page B when you submit on page A, and the page...
1
by: Vinnie Murdico | last post by:
Hi, We have an order form on our site that is a simple HTML page that has a FORM in it. The FORM ACTION is to run a perl script that processes the order. For a long time, we've noticed on...
1
by: ajay | last post by:
I have following code for a slide menu but i twiked it to work for a single level menu. Open it in a Browser to get a clear picture. I have 2 Qs 1) How to make first entry as non-link. i.e i...
2
by: Karuna | last post by:
Hi am quite new to Javascript and CGI related stuff. I have following javascript code : ----------------------------------------------- <html> <head>
9
by: idorjee | last post by:
hi all, i've been trying, almost for the whole day, to submit the value of a variable in my perl script (eg, $sequence) to a subroutine in the same script when i click on a submit button. how can i...
22
by: Archanak | last post by:
Hi, I am using 2-level CSS Drop Down Menu in my perl/CGI program. here is the code. #!c:/perl/bin/perl.exe use CGI qw(:standard);
1
by: cnsabar | last post by:
Hi I am having a problem in closing a menu window using TK module dynamically. I use the following program. use Tk; $mw = MainWindow->new; $mw->geometry("1024x768");
3
by: LazarusHC | last post by:
I'm try to write a very simple menu in perl curses, but I just can't find any documentation for it. A small sample script called demo.menu came with the package, but I can't seem to figure out how...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.