Re: Renaming textA

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19791
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?Suggestion: don't use an $add command on the previous page. Put the [add... ] context after the verify stuff on your show cart page (or whatever.) (you'll need to hide the [add...] if all verify conditions aren't met.) Brian B. Burton BOFH - Department of Redundancy Department --------------------------------------------------------------- MMT Solutions - Specializing in Online Shopping Solutions 973-808-8644 http://www.safecommerce.comAre you a Web Programmer? I am today. 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)
  8. Renaming textA (Richard Kirsner 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?Suggestion: don't use an $add command on the previous page. Put the [add... ] context after the verify stuff on your show cart page (or whatever.) (you'll need to hide the [add...] if all verify conditions aren't met.) Brian B. Burton BOFH - Department of Redundancy Department --------------------------------------------------------------- MMT Solutions - Specializing in Online Shopping Solutions 973-808-8644 http://www.safecommerce.comAre you a Web Programmer? I am today. Brian B. Burton

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:

The [shownext] limitations (2002) Re:E-Mailer (WebCatb15acgiMac) (1997) Question about links (1999) Re[2]: back button loses cart (2000) Custom error files (1998) Huge Problem installing Secure Certs (2006) another problem (1997) Problems with [Applescript] (1997) LetterRip and WebCat & more (1998) RAM variables (1997) [WebDNA] v7 problem? (2012) Carts? (1998) Fun with Dates - revisited (1997) Re1000001: Setting up shop (1997) WebCat2b13MacPlugin - nested [xxx] contexts (1997) [WebDNA] MacOS 10.5 instal/config. I'm drowning. ...just needs to work for LOCAL one person (2008) WebCat editing, SiteGuard & SiteEdit (1997) Dumb Question about Docs (1997) Follow-Up: Problem upgrading from 3.0.8 to 4.0 on MS Windoze 98 / PWS (2000) Rumpus/Typhoon modules included in Typhoon ... (1997)