Re: Javascript Form Validation

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41048
interpreted = N
texte = 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/ 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)
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/ Clint Davis

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:

best way to limit # of attempts to login to protected page? (2000) Best way to handle 404 errors with WebDNA and Web* V (2003) Email Set-Up? (1997) QuantityPrice computed? (1998) [WebDNA] Request to specify the sendmail file name (2015) I'm new be kind (1997) Size/Color Options (2002) Searching multiple fields from one form field (1997) WebCat2 - Getting to the browser's username/password data (1997) RE: OK, here goes... (1997) CopyFile not working? (2000) Order not created error (1997) Using Plug-In while running 1.6.1 (1997) Sendmail problem (2002) Snake Bites (1997) Error Lob.db records error message not name (1997) Authorize.net has gone flooey (2006) WebCat2b12--[searchstring] bug (1997) More on the email templates (1997) HELP!!! (1998)