numero = 54144
interpreted = N
texte = An expansion to Ken's guidelines, because we were talking about carriage returns... using [input] in html form fields (and javascripts, and any html tag, such as alt="[something]") as he suggested protects against a value that might contain a single or double QUOTE MARK (depending on which you use in your html). Displaying a quote mark directly will close off the value prematurely. Like so:If [something] were size "D" battery, then it would resolve to:and the extra quotes will cause only size(space) to display. D" battery" will just be ignored.use to get what you really want. Resolves to:TerryAt 2:00 AM -0800 11/15/03, Kenneth Grome Talk wrote:>3- Use an input context around all the webdna tags that populate >your form fields, no matter if the values come from a db or directly >from a form post. It's better to be safe than sorry, and it is >NEVER a bad thing to use input around your form values. When you >always do this for all your form fields (not just the textarea >fields as suggested in the HTML docs) you will never have to worry >about the "wrong characters" messing up the data you expected to >post.-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Re: Pass a form addendum ( Terry Wilson 2003)
An expansion to Ken's guidelines, because we were talking about carriage returns... using [input] in html form fields (and javascripts, and any html tag, such as alt="[something]") as he suggested protects against a value that might contain a single or double QUOTE MARK (depending on which you use in your html). Displaying a quote mark directly will close off the value prematurely. Like so:If [something] were size "D" battery, then it would resolve to:and the extra quotes will cause only size(space) to display. D" battery" will just be ignored.use [input][something][/input]"> to get what you really want. Resolves to:TerryAt 2:00 AM -0800 11/15/03, Kenneth Grome Talk wrote:>3- Use an input context around all the webdna tags that populate >your form fields, no matter if the values come from a db or directly >from a form post. It's better to be safe than sorry, and it is >NEVER a bad thing to use input around your form values. When you >always do this for all your form fields (not just the textarea >fields as suggested in the HTML docs) you will never have to worry >about the "wrong characters" messing up the data you expected to >post.-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Terry Wilson
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...