Re: Saving Text Areas with Orders
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 14581
interpreted = N
texte = Wrap can be virtual or physical, the syntax is as you'd expect: header1=[fieldX]. WebCatalog automatically converts CR/LF's and tabs into soft returns and spaces respectively. Later, if you'd like to display the contents of the header field in a textarea tag (for editing) you would wrap the field tag in the [input] context so the characters that were converted when saved (like CR/LF's and text like ) are converted back. That is:
John.>What is the syntax for storing a textarea tag to one of the header fields>of the shopping cart?>Should the header be WRAP=physical ?>>>John Hill wrote:>>The TextA, TextB, etc. and extra header fields (header1, header2, etc.)>in >>the shopping cart file are for just this sort of thing. You can store>text from a >>textarea tag just fine.>>>>John.>>>>> My customers require being able to write a few lines of comment to be>>>attached to their orders. >>>>>> After they see the cart, they will need to write their comments in a>>>TEXTAREA.>>>>>> Where do I save this? If they decide to go back to add or edit the>>>order, I don't want these comments to be lost. >>>John A. HillPacific Coast Softwarehttp://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
Wrap can be virtual or physical, the syntax is as you'd expect: header1=[fieldX]. WebCatalog automatically converts CR/LF's and tabs into soft returns and spaces respectively. Later, if you'd like to display the contents of the header field in a textarea tag (for editing) you would wrap the field tag in the
[input] context so the characters that were converted when saved (like CR/LF's and text like ) are converted back. That is:
John.>What is the syntax for storing a textarea tag to one of the header fields>of the shopping cart?>Should the header be WRAP=physical ?>>>John Hill wrote:>>The TextA, TextB, etc. and extra header fields (header1, header2, etc.)>in >>the shopping cart file are for just this sort of thing. You can store>text from a >>textarea tag just fine.>>>>John.>>>>> My customers require being able to write a few lines of comment to be>>>attached to their orders. >>>>>> After they see the cart, they will need to write their comments in a>>>TEXTAREA.>>>>>> Where do I save this? If they decide to go back to add or edit the>>>order, I don't want these comments to be lost. >>>John A. HillPacific Coast Softwarehttp://www.smithmicro.com
John Hill
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:
question: Eudora 3.1.1 (1997)
[writefile] (1997)
Summing fields (1997)
Add more fields to an existent data base (1997)
New Plug-in and Type 11 errors (1997)
Refresh Database (2002)
Spell Check (2000)
Re:quit command on NT (1997)
FW: weird problem (2004)
Cookies-last one (1999)
Listserver problem (1997)
$Quit, $CloseDatabase corrections (1997)
Version Question (2000)
Conditional searching & displaying (1997)
Country & Ship-to address & other fields ? (1997)
Fwd: Problems with Webcatalog Plug-in (1997)
[Sum] function? (1997)
The code, one more time. (2003)
[authenticate] (1999)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)