NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: JohanR on May 30, 2024, 04:26:09 AM

Title: Date and lookup
Post by: JohanR on May 30, 2024, 04:26:09 AM

Hi,

Any tips on how to handle date entry for DOB's?

The popup calendar does not have a year button,
hot to make it easy to get to to your birth year?

Can I prime the lookup with a year at least if I have a separate drop field just for years?
Or is the only option to do 3 separate fields for YYYY, MM, DD?


thanks

Johan





Title: Re: Date and lookup
Post by: Johan de Klerk on May 30, 2024, 04:34:44 AM
Hi Johan,

See this thread: https://www.nettalkcentral.com/forum/index.php?topic=9310.msg38141#msg38141

p_web.SetOption(loc:options,'changeMonth','true')
p_web.SetOption(loc:options,'changeYear','true' )
p_web.SetOption(loc:options,'yearRange:','-117:+0' )

Regards

Johan de Klerk