RE: Renaming textA

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19789
interpreted = N
texte = >>The best way to handle this is to not make it a required field. Then on >>the next page, check for a value and bounce back to a fixit page if not >>filled in correctly, using redirect commands. > >Yes, and you would use some of the following WebDNA to accomplish that: > >[ShowIf [textA]=] >

Please fill in the Logo field on the previous page

>[/ShowIf] > >[HideIf [textA]=] >...the rest of your page here... >[/HideIf] > >I'll try this but I think I might have a problem. I'm adding the >product to my shopping cart when I go to the next page. I suspect >that the product will be added to the cart multiple times (with an >without the logo info) if I have the user go back and add the missing >info. Am I right? Any suggestions? > >Dick Kirsner >Competitive Edge, Inc. > Use the redirect command:[ShowIf [textA]=] [redirect productinfo.tplp&error=logo] [/ShowIf][ShowIf [error]=logo]

Please fill in the Logo field on this page

[/ShowIf] Use the redirect before the add to the cart and you won't have to worry about it being added twice. This works if you are using a context [addlineitem] instead of the add command in the URL.I use this is www.musicianstore.com for items such as cables or software that need options specified.Good luck!Sandy Associated Messages, from the most recent to the oldest:

    
  1. Re: Renaming TextA (Sandra L. Pitner 1998)
  2. Re: Renaming TextA (Richard Kirsner 1998)
  3. Re: Renaming textA (Brian B. Burton 1998)
  4. RE: Renaming textA (Sandra L. Pitner 1998)
  5. RE: Renaming textA (Richard Kirsner 1998)
  6. Re: Renaming textA (PCS Technical Support 1998)
  7. Re: Renaming textA (Sandra L. Pitner 1998)
>>The best way to handle this is to not make it a required field. Then on >>the next page, check for a value and bounce back to a fixit page if not >>filled in correctly, using redirect commands. > >Yes, and you would use some of the following WebDNA to accomplish that: > >[ShowIf [textA]=] >

Please fill in the Logo field on the previous page

>[/ShowIf] > >[HideIf [textA]=] >...the rest of your page here... >[/HideIf] > >I'll try this but I think I might have a problem. I'm adding the >product to my shopping cart when I go to the next page. I suspect >that the product will be added to the cart multiple times (with an >without the logo info) if I have the user go back and add the missing >info. Am I right? Any suggestions? > >Dick Kirsner >Competitive Edge, Inc. > Use the redirect command:[ShowIf [textA]=] [redirect productinfo.tplp&error=logo] [/ShowIf][ShowIf [error]=logo]

Please fill in the Logo field on this page

[/ShowIf] Use the redirect before the add to the cart and you won't have to worry about it being added twice. This works if you are using a context [addlineitem] instead of the add command in the URL.I use this is www.musicianstore.com for items such as cables or software that need options specified.Good luck!Sandy Sandra L. Pitner

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:

Pithy questions on webcommerce & siteedit (1997) auction system w/ Web Cat (1999) b12 cannot limit records returned and more. (1997) Shipping rate x Quantity solution needed (2000) [WebDNA] fastcgi 7+ & [cart]? (2010) Re:What file? (1997) Signal Raised Error (1997) Protect (1997) Signal Raised (1997) blank page from template (1997) How To question on setting up downloads (1997) Hosts who have upgraded to v5.0? (2003) Assigning new CART number (1997) ShowNext truncating passed variable?? (1997) expired beta (1997) WebDNA Solutions ... sorry! (1997) Location of Webcat site in folder hierarchy (1997) Serving images from databases (1998) removelineitems (2000) WebCat Emailer & Liststar (1997)