Different value and label of the input submit
Once upon a time (today), I stuck into this problem: I needed GET form with a few submit inputs. However, I needed numeric GET values (1-5) but I wanted to keep it simple for users – and I needed different labels than values…
After some thinking, I figured it out.
I can’t use input submit, I must use button!
And here we are:
1 |
<button name="name" value="1" type="submit">Label 1</button> |
A piece of cake.