Passing Varialbes
- From: Mtek <mtek@xxxxxxxxxxx>
- Date: Sat, 31 May 2008 14:08:01 -0700 (PDT)
Hi,
This one has me stumped.
We have a PHP page which contains 2 forms. The second form, named
DETAIL, has 2 HTML buttons on the bottom. These are not standard
SUBMIT buttons. That is the way they want it.
Anyhow, the buttons, labeled EDIT & DELETE both call the same script
to perform the needed action. In addition, there is a javascript
function 'VALIDATE' called prior to the form submission.
We can easily just code an ONCLICK to submit the form with an onsubit
to call the VALIDATE function. however, this is what they want:
The want each button to call the same script to perform the action.
They do not want to pass any variables via the URL, AND still call the
VALIDATE function.
Can this be done? I've at this more than 3 hours. I cannot code a
hidden field, because I will not know which button they press.......
Can anyone help???
Thanks!!
John
.
- Prev by Date: Re: PHP Auction
- Previous by thread: PHP Tutorials
- Index(es):