Posted by Dave Mennenoh on 05/22/06 19:38
I have a form being filled in dynamically using PHP. It's working except
I've run into an issue with the submit. I have a Select component (drop down
box) that has an onchange="this.form.submit()" so that users can simply pick
the item to be edited. Furtner down there's a standard submit button... How
can I differentiate between the two submits?
If they pick an item from the dropdown I just want to fill in the form with
the data selected from the database for that record. If they hit the submit
button, I want to post the form and save that data into the database.
Seems like it should be an easy one, but I'm just missing it.
thanks
--
Dave -
Adobe Community Expert
www.blurredistinction.com
www.macromedia.com/support/forums/team_macromedia/
Navigation:
[Reply to this message]
|