Re: Javascript Form Validation

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41047
interpreted = N
texte = 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, TimOn 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)
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, TimOn 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:

Paths (2000) Mac v. NT (1998) WebCat for mass emailings (1997) [WebDNA] location line item change password (2011) [WebDNA] [thisautonumber] and [lastautonumber] (2011) Listserver problem (1997) user/password validation (1998) [TaxTotal] (1998) taxrate - off by 1 cent (1997) Multiple security dbs (1997) PCS Frames (1997) WebCatalog NT beta 18 problem (1997) WC TableGrinder (1997) Problems appending to database (1997) No Access warning when caching HTML files (1997) DIsplaying Search Result Relevance (2000) Replace command help (1998) WebCatalog for guestbook ? (1997) Help name our technology! I found it (1997) Suffix Mapping (1997)