Hi,
Ok, I have a form which is displaying client confirmation information. I have two buttons; one to accept, and the other to decline.
When using traditional buttons, I can just include a “name”, and have my php do the rest.
For example:
<input type="submit" name="accept" value="Accept">
<input type="submit" name="decline" value="Decline">
The problem I’m having is that I don’t want to use a button. I want to use a href hyperlink. So naturally I tried to do it like this:
<a name="accept" href="javascript:confirmForm.submit()"> Accept </a>
<a name="decline" href="javascript:confirmForm.submit()">Decline</a>
But it’s just not working. How can I send that “name” variable into my submit function so that my action php file can pick it up?
I hope that makes sense, and that this thread is in the correct place.
Thanks,
Mark