Posted by Tim Streater on 07/07/07 12:50
In article <5f84q8F3b9p09U1@mid.individual.net>,
Bergamot <bergamot@visi.com> wrote:
> Adrienne Boswell wrote:
> >
> > <input type="submit" name="sub1" value="Submit">
> > ...more interesting elements...
> > <input type="submit" name="sub2" value="Submit">
> >
> > Then you will get either sub1/Submit or sub2/Submit in your form
> > collection.
>
> Alternately, use the same name and assign different values. This gives
> you a means to easily do switch/case processing.
That might well be useful in some cases. Mostly my values come from our
database so wouldn't be suitable, however.
[Back to original message]
|