Hi Joe,<br><br>&nbsp;&nbsp;&nbsp;&nbsp;Since you're using Javascript anyway, why not change the buttons to input type="button", and use the onclick event handler to identify the button and call&nbsp; form.submit?&nbsp; Then you can add whatever you like (hidden fields, etc) into your process for the script to pick up when the page loads again.<br><br>Cheers,<br><br>Peter<br><br><font face="Tahoma, Arial, Sans-Serif" size=2>
<hr align=center width="100%" SIZE=2>
<b>From</b>: jm &lt;jm5379@gmail.com&gt;<br></font><br>i have a form that uses multiple submit buttons: one to select from a<br>dropdown list of menu options, one to add a new record or update an<br>existing record depending on which is appropriate at the time, and one<br>to delete an existing record. i use the following as the trigger for<br>onsubmit<br><br><br><br><br><br><br><br>sadly, it doesn't know how to distinguish between which submit button<br>is being selected. the few variations i've played with have no good<br>effect and i haven't found anything addressing multiple submit<br>buttons. the parameter names for the buttons are "delete_button",<br>"replace_record" (for adding or updating individual records) and<br>"select_datagroup". what have i missed so far that will allow me to<br>respond to a specific submit button's activation? i'm very new to js<br>so it'll be hard to offend me by "talking down" to me with<br>descriptions of what should appear to be obvious to everyone else.<br><br>thanks,<br>joe<br>