in reply to Re: Cgi and Perl : how to use data once people selects the checkbox field?
in thread Cgi and Perl : how to use data once people selects the checkbox field?

Minor nit - IIRC form.submit() is a short-hand for document.form.submit(); and will only work if you only have one form on the whole page. It's probably better to use something like:

<select onchange='this.form.submit();'> <option value=1>trival example</option> </select>

Which should always submit the form associated with the selectbox.

  • Comment on Re^2: Cgi and Perl : how to use data once people selects the checkbox field?
  • Download Code

Replies are listed 'Best First'.
Re^3: Cgi and Perl : how to use data once people selects the checkbox field?
by EchoAngel (Pilgrim) on Dec 21, 2004 at 23:03 UTC
    how can do I do it such that I have multiple forms?