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:

WebCat2 beta 11 - new prefs ... (1997) Internet Advancement (2003) Fun with dates (1997) two unique banners on one page (1997) WebCatalog can't find database (1997) Fuzzy on [url] context (1998) FM PRO Compatibility Issue - Single Database w/o Conversions (1997) [OT] Friday Time Waster (2003) no global [username] or [password] displayed ... (1997) Virtual hosting and webcatNT (1997) [WebDNA] v7 Stress Test and Strange Behaviour (2012) When do we get to request new features? (1999) Bug Fix for wbrk??? (1999) duplicate cart numbers (2002) Tracking (2004) Suddenly can't see files... (2000) WCS Newbie question (1997) FoundItems (2000) Multi-processor Mac info ... (1997) Unencrypt Password (2004)