Absendebutton bei Formularen wird "mit übertragen"
Markus
- https
Hallo,
bei einem Formular, was ich gerade bastel, soll der Absendebutton ein Image sein:
<input type="IMAGE" SRC="../bilder/absenden.gif" border="0" value="Abschicken">
...nur uebertraegt das formmail Skript (bei pl oder php) dann immer zum Schluss
x= 40
y= 5
oder andere Zahlen. Nehme ich den normalen Submit Befehl ist alles gut.
Wer hat einen Tipp - vielen Dank Markus
Hallo,
<input type="IMAGE" SRC="../bilder/absenden.gif" border="0" value="Abschicken">
nimm hier mal value="Abschicken" raus.
Gruß Markus
Moin!
...nur uebertraegt das formmail Skript (bei pl oder php) dann immer zum Schluss
x= 40
y= 5
oder andere Zahlen. Nehme ich den normalen Submit Befehl ist alles gut.
Wer hat einen Tipp - vielen Dank Markus
Es ist dokumentiertes Feature des Image-Buttons, dass er die Klickposition der Maus in x- und y-Koordinate mitteilt. Nachzulesen in diversen Einträgen im Archiv, sowie in einem HTML-Standard deines Vertrauens. Beispielsweise http://www.w3.org/TR/html401/interact/forms.html#h-17.4.1:
"When a pointing device is used to click on the image, the form is submitted and the click coordinates passed to the server. The x value is measured in pixels from the left of the image, and the y value in pixels from the top of the image. The submitted data includes name.x=x- value and name.y=y-value where "name" is the value of the name attribute, and x-value and y- value are the x and y coordinate values, respectively."
- Sven Rautenberg