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:
>>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:
Duplicates (1998)
WebCatalog 4.0 ? (2000)
strange [date] behavior (2001)
Authenticate (1997)
Seeking Better Display of results... (1997)
multiple credit card merchant accounts/processors (1997)
Personal Web Server (1998)
Max Record length restated as maybe bug (1997)
Version f1 status (1997)
Huge databases and RAM (1998)
Spontaneous Errors (2004)
SSL and reg web* (1997)
Need help with emailer- 2 issues (1997)
Dummy Credit Card Number for debug? (1997)
WebDNA 4.5 upgrade? (2002)
unable to launch acgi in WebCat (1997)
Validation (2000)
WebCat2 Append problem (B14Macacgi) (1997)
New WebCatalog Version !!! (1997)
Some Questions (1997)