Re: Pass a form addendum

This WebDNA talk-list message is from

2003


It keeps the original formatting.
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: Terry At 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:

    
  1. 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: Terry At 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

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:

Multiple security dbs (1997) Proposed FormVariables hierarchy (2000) feature request.... [stop] (2000) Showif for mulitple variations (1997) Beta 18 (1997) Possible Problem with Safari and Carts (2003) Emailer (WebCat2) (1997) no [search] with NT (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) Shopping Cart Page (1997) Passing along data (2000) PCS Frames (1997) WebCatalog Beta Documentation (1997) [HIDEIF] inside [FOUNDITEM] (1997) taxTotal, grandTotal (1997) WebCat2 - [format thousands] (1997) Dual processors? (2000) New commands in Final candidate (1997) unable to launch acgi in WebCat (1997) Re:no [search] with NT (1997)