Stas,

I'm not sure what you mean... for instance how would I know what was
 dynamically selected to include as a hidden value in the second form... the
 first one is where it is declared dynamically by the user.

I guess I wasn't very clear. Sorry.



At 10:35 AM 2/9/02 -0500, you wrote:
>Hi,
>
>I would just break this form into 2 separate forms and pass the ID as a
>hidden field within. Encapsulate your select element in the first form,
>and the ADD/Edit/Delete in another form tag pair. This makes it easier
>logic wise.
>
>
>----- Original Message -----
>From: "Brian Scandale" <[EMAIL PROTECTED]>
>
>
>
>> Nothing is selected when this form loads until the user clicks inside 
>> the>select box. Then the form autosubmits via the onclic=
>>
>> Problem is that This form submits a form.submit="DeleteType" even 
>> though
>they clicked on the select box, NOT the Submit Button.
>>
>> This ONLY happens on a Mac running IE
>>
>> I'm clueless as to why? Would appreciate any insight.
>>
>> Code below:
>>
>> -----
>> <form action="file.cfm" method="POST">
>>   <Select name="PT_ID" size="6" onclick="this.form.submit()">
>>     <option value="1">SomeItem</option>
>>     <option value="2">SomeOtherItem</option>
>>   </SELECT>
>>   <input type="Submit" name="Submit" value="DeleteType">
>>   <input type="Submit" name="Submit" value="EditType">
>>   <input type="Submit" name="Submit" value="Add Type"> </form>
>> -----
>>
>> Thanks to anyone with a clue,
>> Brian
>> 
>
>
______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to