Strange NMS FormMail output


#1

I’m getting something weird I’ve never seen before from NMS formmail, hoping someone can point me to a solution. The script is returning the X and Y coordinates that the submit button was clicked at (graphical button)! Weirdness ja?!

anyhoo, in case you’re not following, the output in the mail is:

[code]name: Joe Blow

phone: 555 555 5555

message: a message left by Joe for you in your message box

x: 96

y: 25[/code]the form bits:

[code]





Email *
Phone Number
Message *
* Required Field
[/code][url=http://disk919.com][color=#0000CC]jason[/color][/url]

#2

Solution? What’s the problem? That is what happens when you use a button of type “image”,
it is in the HTML 4.01 specification (INPUT element):

"Creates a graphical submit button. The value of the src attribute specifies the URI of the image that will decorate the button. For accessibility reasons, authors should provide alternate text for the image via the alt attribute.

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."

:cool: Perl / MySQL / HTML+CSS


#3

it’s superflous mail clutter I reckon!

That’s good to know, I appreciate you pointing that out!

[color=#0000CC]jason[/color]