|
Posted by Jonathan N. Little on 07/07/07 20:38
Tim Streater wrote:
> 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.
Why would the *source* of the value matter at all, database or
predetermined or otherwise? Maybe stop playing this silly guessing game
of try to debug your *imaginary* code and you put up a *live* example
somewhere, (temp folder on your site, your ISP free webspace, or some
free server) and we can give you some real advice.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|