Re: Checking Out!

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24382
interpreted = N
texte = Don't use the required field parameter. Look in the archives and you'll see excellent advice from both Brian and Bob and various techniques to validate for required fields. Both have posted code snippets and examples of techniques within the past couple of weeks.Basically both advocate the use of an error variable that counts the number of fields with invalid values. When error=0 the user is allowed to proceed to the next step in the checkout. Once you get a grasp on this technique it'll seem pretty simple and you'll find other uses for it. Don't dispair - it sounds like you're closer than you think.Hope that helps Marty Schmid >Does anybody have a GOOD example of a check-out page? > >After spending months getting a shopping site online, I am to the point of >total exhaustion trying to get a decent purchase page up-and-running. > >I attempt to use the RequiredFields parameter for the ?purchase command, >but most of the time is seems to be ignored, allowing people to check-out >with NO information entered on the form! > >When I strip things down and finally get ?RequiredFields to work on a >bare-bones check-out page, all it does it pop up with an ugly window that >tells you stuff didn't get filled out! Not even a quick message telling the >customer to press the back button on your browser and try again! And >without some more trickery, they go back to find all of the information they >DID fill out to be missing! > >It was hard enough to finish my site, but to be stopped by a procedure that >should be fairly automated by WebCatalog is enormously frustrating! I am >hopeful that some kind soul has an example that will show me the way! :)------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: Checking Out! (David Simmer II 1999)
  2. Re: Checking Out! (Marty Schmid 1999)
  3. Checking Out! (David Simmer II 1999)
Don't use the required field parameter. Look in the archives and you'll see excellent advice from both Brian and Bob and various techniques to validate for required fields. Both have posted code snippets and examples of techniques within the past couple of weeks.Basically both advocate the use of an error variable that counts the number of fields with invalid values. When error=0 the user is allowed to proceed to the next step in the checkout. Once you get a grasp on this technique it'll seem pretty simple and you'll find other uses for it. Don't dispair - it sounds like you're closer than you think.Hope that helps Marty Schmid >Does anybody have a GOOD example of a check-out page? > >After spending months getting a shopping site online, I am to the point of >total exhaustion trying to get a decent purchase page up-and-running. > >I attempt to use the RequiredFields parameter for the ?purchase command, >but most of the time is seems to be ignored, allowing people to check-out >with NO information entered on the form! > >When I strip things down and finally get ?RequiredFields to work on a >bare-bones check-out page, all it does it pop up with an ugly window that >tells you stuff didn't get filled out! Not even a quick message telling the >customer to press the back button on your browser and try again! And >without some more trickery, they go back to find all of the information they >DID fill out to be missing! > >It was hard enough to finish my site, but to be stopped by a procedure that >should be fairly automated by WebCatalog is enormously frustrating! I am >hopeful that some kind soul has an example that will show me the way! :)------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Marty Schmid

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:

[group] ? (1997) search results (1998) pdf files? (2001) DNS Lookup 2 (2000) Nested tags count question (1997) [SearchString] (1998) Plugin or CGI or both (1997) Locking up with WebCatalog... (1997) WebCat2b12 CGI Mac -- Problems propagating the cart through (1997) RE: ShowNext Command (1997) Add Unit Ship Cost to Cart (2000) Re:Part 2 - [showif] if variable exists (1998) Tax and Shipping Examples (1997) Bug: MySQL WebDNA 6 int bigint fail case (2004) RequiredFields template (1997) summ=T (2003) Undeclared variables (2004) Summing fields (1997) Seeking WebCatalog Consultant (1998) SET and C-SET (1998)