This content has been marked as final.
Show 5 replies
-
1. Re: rich:calendar
nohacks Aug 2, 2008 1:20 AM (in response to nohacks)Ok...I have a default date...
private Date memberDOB_Date = new Date(System.currentTimeMillis() - 1000L * 60 * 60 * 24 * 30);
anyone know how to require a minimum date range ?? -
-
3. Re: rich:calendar
ilya_shaikovsky Aug 5, 2008 9:30 AM (in response to nohacks)to set default year (not selected date) use currentDate attribute.
"anyone know how to require a minimum date range ??" Not sure that understand you. -
4. Re: rich:calendar
nohacks Aug 5, 2008 9:55 AM (in response to nohacks)Thanks for your response...
I do set the default date... with this..private Date memberDOB_Date = new Date(System.currentTimeMillis() - 1000L * 60 * 60 * 24 * 9000);
where 9000 is the days minus the current date...
I was wondering how I enforce the DOB date being a min of 18 years old..
I can do this with javaScript and Onclick before the submit. I wondered if there was a field level validator with ajax or the cal function ??
Thanks
Phil -
5. Re: rich:calendar
nohacks Aug 6, 2008 2:36 PM (in response to nohacks)any help on doing this without javaScript and Onclick before the submit.
Phil