Surprise x and y post args
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 18669
interpreted = N
texte = Here's something interesting I just discovered, maybe because I'm using Internet Explorer, or maybe because I never tried this with Netscape -- but either way, it could have an effect on your variable values if you ever use fields named x or y in your forms ...Here's my search form, it only has one field named value. Instead of a regular Submit button I'm using a .gif file ...
Here's what happens:When I enter a value (such as t in this example) into the value field and hit the Return key, no x or y values are posted:1 value tBut when I click that .gif button to submit the form, x and y values get posted to my results template, and those values show up in my [formvariables] context:1 value t2 x 103 y 6I never used a .gif file as a form button until now, so you may already know this if you've done it before, but it DOES suggest that you had better *not* use fields named x or y at the same time you're using an image file as your form's Submit button -- or else those x and y values might be used by WebCatalog *instead* of the x and y values you *thought* would be entered via your form fields!Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Associated Messages, from the most recent to the oldest:
Here's something interesting I just discovered, maybe because I'm using Internet Explorer, or maybe because I never tried this with Netscape -- but either way, it could have an effect on your variable values if you ever use fields named x or y in your forms ...Here's my search form, it only has one field named value. Instead of a regular Submit button I'm using a .gif file ...
Here's what happens:When I enter a value (such as t in this example) into the value field and hit the Return key, no x or y values are posted:1 value tBut when I click that .gif button to submit the form, x and y values get posted to my results template, and those values show up in my
[formvariables] context:1 value t2 x 103 y 6I never used a .gif file as a form button until now, so you may already know this if you've done it before, but it DOES suggest that you had better *not* use fields named x or y at the same time you're using an image file as your form's Submit button -- or else those x and y values might be used by WebCatalog *instead* of the x and y values you *thought* would be entered via your form fields!Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Kenneth Grome
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Project 2 (1998)
Refresh cart# (1999)
Another question (1997)
Writefile outside WebSTAR hierarchy? (1997)
using cookies to prevent access (2000)
Random Links (2004)
[WebDNA] New list (2008)
File Upload (1997)
TeaRoom Search page (2000)
Possible Macv2.1b2 Merge Bug (1997)
PCS Emailer's role ? (1997)
searchable list archive (1997)
Recursive includes (1998)
Pricing based on quantity (2000)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Frames and WebCat (1997)
Concatenating Form Variables (1998)
Whois (2003)
WebDNA 5 - Function test weirdness or ? (2003)
[ot] RH 7.2 WU-FTP Question (2003)