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:

How update the file: products.db (2000) no [search] with NT (1997) WebCatalog Q & A pages (1997) [WebDNA] OT - Wordpress Shopping Cart - will pay (2010) Assigning carts (1998) OT (sort of) WAP/WML and 'form' posts (2003) Question about replacing words (1998) [SearchString] problem with [search] context (1997) [WebDNA] WebDNA CGI under El Capitan 10.11.4 (2016) New Plug-in and Type 11 errors (1997) Support ?? (1997) WebCatalog NT beta 18 now available (1997) Another option (2005) shell question (2004) Parameter Passing Value (2002) Archives are missing (2003) Date Time Oddness (1999) WebCommerce: Folder organization ? (1997) maximu values for sendmail! (1997) Upgrading old WebCat Database Files (1997)