It is my fault, I didn't read your question properly. As I read your message again your issue looks more like a UI issue (to me). What do _you_ want to happen when the user lets go of the select menu? Do you want something to happen by default, that is, show an Add or Edit form when something is selected?
I can't test on a Mac, but on Windows/IE if you don't click on a button whether it's type is Sumbit or Button, that form element won't be passed at all. -----Original Message----- From: Brian Scandale [mailto:[EMAIL PROTECTED]] 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 ______________________________________________________________________ Why Share? Dedicated Win 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=coldfusionc 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