Re: Javascript Form Validation

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41050
interpreted = N
texte = If you recreate the form and repopulate the fields, then they don't have to go back. Then when all fields are correct, all the checks pass and it goes to the 'Thank You' part of the page.Regards, Tim On Friday, 28 June 2002 8:39 AM, Clint Davis wrote: >I could do that, but I prefer to catch the problems before they become >problems. That way visitors don't have to go back and make >changes. > > > >On 6/27/02 5:14 PM, Tim Robinson wrote: > >> I'm hopeless at Javascript, but can't you do the same thing just with >> WebCatalog. On the target page have a bunch of hideif and showifs......? >> >> Regards, >> Tim >> >> >> >> On Friday, 28 June 2002 6:04 AM, Clint Davis wrote: >>> I know this is OT, but I just can't get it figured out. I know I'm probably >>> missing something very simple because I'm not very JS savvy. I hope one of >>> the JS geniuses on the list can help me. >>> >>> I'm using the javascript below to validate a form that contains 3 pull-down >>> menus: MONTH, DAY, and YEAR. These 3 pull-down values are combined by WebCat >>> to form a complete date. >>> >>> Visitors don't have to use the pull-down menus. But, if they select a value >>> from at lease 1 of the pull-down menus, I need to force them to use all 3 in >>> order to complete the date. >>> >>> Right now, the script catches partial dates and throws up and alert, but it >>> won't let visitors submit the form with no date. >>> >>> >>> > > >--------------------------------------------------------------------- >Clint Davis >Webmaster / Interactive Media Specialist >Gray Loon Marketing Group, Inc. http://www.grayloon.com >204 Main Street | Evansville, IN 47708 | Phone:812-422-9999 >--------------------------------------------------------------------- > > >------------------------------------------------------------- >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 >Web Archive of this list is at: http://search.smithmicro.com/ >------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Javascript Form Validation (Tim Robinson 2002)
  2. Re: Javascript Form Validation (Clint Davis 2002)
  3. Re: Javascript Form Validation (Tim Robinson 2002)
  4. OT: Javascript Form Validation (Clint Davis 2002)
If you recreate the form and repopulate the fields, then they don't have to go back. Then when all fields are correct, all the checks pass and it goes to the 'Thank You' part of the page.Regards, Tim On Friday, 28 June 2002 8:39 AM, Clint Davis wrote: >I could do that, but I prefer to catch the problems before they become >problems. That way visitors don't have to go back and make >changes. > > > >On 6/27/02 5:14 PM, Tim Robinson wrote: > >> I'm hopeless at Javascript, but can't you do the same thing just with >> WebCatalog. On the target page have a bunch of hideif and showifs......? >> >> Regards, >> Tim >> >> >> >> On Friday, 28 June 2002 6:04 AM, Clint Davis wrote: >>> I know this is OT, but I just can't get it figured out. I know I'm probably >>> missing something very simple because I'm not very JS savvy. I hope one of >>> the JS geniuses on the list can help me. >>> >>> I'm using the javascript below to validate a form that contains 3 pull-down >>> menus: MONTH, DAY, and YEAR. These 3 pull-down values are combined by WebCat >>> to form a complete date. >>> >>> Visitors don't have to use the pull-down menus. But, if they select a value >>> from at lease 1 of the pull-down menus, I need to force them to use all 3 in >>> order to complete the date. >>> >>> Right now, the script catches partial dates and throws up and alert, but it >>> won't let visitors submit the form with no date. >>> >>> >>> > > >--------------------------------------------------------------------- >Clint Davis >Webmaster / Interactive Media Specialist >Gray Loon Marketing Group, Inc. http://www.grayloon.com >204 Main Street | Evansville, IN 47708 | Phone:812-422-9999 >--------------------------------------------------------------------- > > >------------------------------------------------------------- >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 >Web Archive of this list is at: http://search.smithmicro.com/ >------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Tim Robinson

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:

restarting service remotely on NT (1997) Goofy Date Sorting (1998) WebCatalog can't find database (1997) Public beta 6 for WebCatalog 4.0 is now available (2000) Removing [showif] makes a big difference in speed (1997) Practice runs ? (1997) Enhanced Master Counter? (1997) international time (1997) did I miss anything (1997) Emailer [cart] file names (1997) WebStar Secure on other machine (1997) Multiple catalog databases and showcart (1997) $Replace with [founditems] (1997) emailer w/F2 (1997) problems with 2 tags (1997) [WebDNA] OS X mail server (2009) Hello??? (1997) [WriteFile] problems (1997) refreshing IE with posted .tmpl (1997) Limiting user access to .tmpl files (1997)