PDA

View Full Version : Using the <input> tag to send information.



CuppoJava
13 May 2008, 04:39 PM
Hi,
When I create a button using
<input type="submit" name="StepButton" value="Add Step" />

The button has the words "Add Step" on it, and it sends a parameter "StepButton=Add Step" to my php script.

Is there anyway to send what I need from the button?
ie. I want the button to send the parameters "StepButton=132214" but still display "Add Step" on the actual button.

Sorry if that wasn't clear.
Thanks a lot for your help
-Cuppo