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. Hill Pacific Coast Software http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Saving Text Areas with Orders (John Hill 1997)
  2. Re: Saving Text Areas with Orders (Larry Orchier 1997)
  3. Re: Saving Text Areas with Orders (John Hill 1997)
  4. Saving Text Areas with Orders (Larry Orchier 1997)
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. Hill Pacific Coast Software http://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:

encrypt/decrypt - are docs correct?? (2002) Trouble with carts (2000) emailer setup (1997) PCS Frames-Default page is solution! (1997) So when do we get something similar? (1998) Re:Emailer and encryption (1997) Converting a Magazine to a Web Site with WebCat (1999) typhoon vs. webcatalog (1997) Problems mit mysql (2004) Share Snippet? (1999) security (https) w webcat (1999) [WebDNA] Cron vs. trigger syntax (2014) [WebDNA] Error 500 with SUMM=T (2017) [ShowNext] feature in 2.0 (1997) Execute Applescript (1997) orderfile location (1999) MacAutorize and T1 (1998) Separate SSL Server (1997) [WriteFile] problems (1997) [WebDNA] shopping sites and the "old commerce tags" (2012)