Hi Thorsten,
this is all HTML standard:
https://stackoverflow.com/questions/2129346
I have no clue why it doesn't work for you.
Please isolate the problem in a jsfiddle or similar.
Have fun
Sven
On 26.06.20 10:44, Thorsten Schöning wrote:
Guten Tag Thorsten Schöning,
am Freitag, 26. Juni 2020 um 10:34 schrieben Sie:
<input type="submit"
name="foobar"
value="foobar"
title="foobar"
/>
Using a button instead works as one would expect: When that button is
clicked, the form gets submitted and the name and value of the button
are send as part of the POST-data. If any other "submit" gets clicked,
no names and values are part of the POST-data, not even the name and
value of the button. Which makes sense, because it wasn't clicked.
<button type="submit"
name="foobar button"
value="foobar button"
title="foobar button">
foobar button
</button>
I don't understand what I'm doing wrong, the plain HTML submit-input
is pretty much exactly what is documnted elsewhere:
<input id="tea-submit" type="submit" name="submit" value="Tea">
<input id="coffee-submit" type="submit" name="submit" value="Coffee">
https://stackoverflow.com/questions/22579616/send-value-of-submit-button-when-form-gets-posted
Jeder Submit-Button hat ein individuelles name-Attribut, mit dem die
Anwendung auf dem Server den Datensatz identifiziert.
https://www.mediaevent.de/html/submit.html
Mit freundlichen Grüßen,
Thorsten Schöning
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org