Re: calculate user's age

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22744
interpreted = N
texte = Try this expected form.dob being formatted like a date [showif [math]{[form.dob]}-{00/00/0016}[/math]>0]You are over 16 you can submit[/showif]/martin>I'm trying to put together a form that was orginally based on the guestbook >sample. I want to add an age validation to the form -- only people that are >sixteen or older can successfully submit the form. I'm having a lot of >trouble with the syntax. Has anyone done anything similar? > > >This doesn't work. > >[showif [form.dob]<[math date]{[date]}-{00/00/0016}[/math]] > You are over 16, you can submit. >[/showif] > >Joe Wilkins >joe@mercury.benjerry.com Associated Messages, from the most recent to the oldest:

    
  1. Re: calculate user's age (Martin Bech 1999)
  2. calculate user's age (Joe Wilkins (by way of Kenneth Grome) 1999)
Try this expected form.dob being formatted like a date [showif [math]{[form.dob]}-{00/00/0016}[/math]>0]You are over 16 you can submit[/showif]/martin>I'm trying to put together a form that was orginally based on the guestbook >sample. I want to add an age validation to the form -- only people that are >sixteen or older can successfully submit the form. I'm having a lot of >trouble with the syntax. Has anyone done anything similar? > > >This doesn't work. > >[showif [form.dob]<[math date]{[date]}-{00/00/0016}[/math]] > You are over 16, you can submit. >[/showif] > >Joe Wilkins >joe@mercury.benjerry.com Martin Bech

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:

no global [username] or [password] displayed ... (1997) Not really WebCat (1997) faxing orders (2000) Help Please WebDNA 6 Secure Forms Problem (2004) default value from Lookup (was Grant, please help me) (1997) WebCatalog2 Feature Feedback (1996) [isfolder] and [filename] (1997) target=_blank and form variables (1997) Locking up with WebCatalog... (1997) Re:FYI: Error message (1996) Webcat/Webmerchant (1998) hideif/showif causes error if wrapped around searches (2003) Is QuidProQuo dead? (1998) Calculating multiple shipping... (1997) Keep away (1997) Has anyone integrated ZipBurst with WebCat? (2000) E-Mailer (WebCatb15acgiMac) (1997) Web*3 virtual hosting Webcatalog problem + Vicom bonus (1998) autosensing lanague selection (1997) Stinkin' [Referrer] (1998)