Re: Getting Values into Cart the easy way?*

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16349
interpreted = N
texte = >I have just taught myself how to place values in the cart > >FORM METHOD=POST >ACTION=../r1/r1home.tmpl$showcart?db=d2mcust.db&cart=[cart]&name=[firstname]@address1=[raw][building][[/raw]> > >When I didn't have the raw context around building, I would get an error >since the building has lots of blank space. That's because you're actually supposed to pass variables in a form very differently from the way you're doing it. If you do it this way instead, you won't have your current problems:
>I want to be able to pass several lines of comments as well.Then simple add additional form fields with those comments: >It seems to me that I have a lot to pass, and I recall reading something >about a limit to how much you can pass.Forms don't have the same limits as URLs, so you can pass LOTS of data using METHOD=POST in forms ...Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: Getting Values into Cart the easy way?* (Kenneth Grome 1998)
  2. Getting Values into Cart the easy way?* (Larry Orchier 1998)
>I have just taught myself how to place values in the cart > >FORM METHOD=POST >ACTION=../r1/r1home.tmpl$showcart?db=d2mcust.db&cart=[cart]&name=[firstname]@address1=[raw][building][[/raw]> > >When I didn't have the raw context around building, I would get an error >since the building has lots of blank space. That's because you're actually supposed to pass variables in a form very differently from the way you're doing it. If you do it this way instead, you won't have your current problems: [cart]> >I want to be able to pass several lines of comments as well.Then simple add additional form fields with those comments: >It seems to me that I have a lot to pass, and I recall reading something >about a limit to how much you can pass.Forms don't have the same limits as URLs, so you can pass LOTS of data using METHOD=POST in forms ...Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://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:

WC2b15 - [HTMLx]...[/HTMLx] problems (1997) Re:2nd WebCatalog2 Feature Request (1996) [delete] problem (1997) PIXO support (1997) deadlock (2000) Tenon and PCS Partner (1998) WC 4.0 on OSX 10.0.4 problems (2001) item sorting (1997) target=_blank and form variables (1997) b12 cannot limit records returned and more. (1997) emailer (1997) Database Updates (1997) RAM variables (1997) Followup question re: checksum for credit cards? (1997) Re(9): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998) Partner Edition question ... (2003) Opening 'order file'. (1999) Multiple security dbs (1997) RE: Server Traffic Simulation (1998) Moment of Thanks (1997)