submitting a menu in perl

Discussion in 'Perl' started by Zaxil, Dec 27, 2003.

  1. Zaxil

    Zaxil Guest

    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
     
    Zaxil, Dec 27, 2003
    #1
    1. Advertisements

  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? 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.
     
    Leif K-Brooks, Dec 27, 2003
    #2
    1. Advertisements

  3. 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
     
    Jürgen Exner, Dec 27, 2003
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Michael
    Replies:
    1
    Views:
    1,033
    newsman
    Aug 14, 2003
  2. dpackwood
    Replies:
    3
    Views:
    2,174
  3. J.P.
    Replies:
    9
    Views:
    321
    Chris Mattern
    Nov 12, 2003
  4. Yakov

    submitting patch to perl docs

    Yakov, Mar 18, 2007, in forum: Perl Misc
    Replies:
    1
    Views:
    171
    Tad McClellan
    Mar 19, 2007
  5. PerlFAQ Server

    FAQ 1.4 What are Perl 4, Perl 5, or Perl 6?

    PerlFAQ Server, Jan 23, 2011, in forum: Perl Misc
    Replies:
    0
    Views:
    521
    PerlFAQ Server
    Jan 23, 2011
  6. PerlFAQ Server
    Replies:
    0
    Views:
    1,005
    PerlFAQ Server
    Feb 3, 2011
  7. PerlFAQ Server

    FAQ 1.4 What are Perl 4, Perl 5, or Perl 6?

    PerlFAQ Server, Feb 27, 2011, in forum: Perl Misc
    Replies:
    0
    Views:
    524
    PerlFAQ Server
    Feb 27, 2011
  8. PerlFAQ Server
    Replies:
    0
    Views:
    976
    PerlFAQ Server
    Apr 4, 2011
Loading...