Forums Register Login
DateField Validation
This is Rajesh
Can i do date field validation , I am using
datefield df=new DateField("", DateField.DATE);
If user doesnt select any date , it must show alert. instead of internally giving null pointer exception
Please Help me out
Thanks & Regards
I got a way to solve the problem,
datefield df=new DateField(",DateField.Date);
String date=df.getDate.toString();
catch(NullPointerException e)
give same alert;
If you live in a cold climate and on the grid, incandescent light can use less energy than LED. Tiny ad:
Rocket Oven Kickstarter - from the trailboss

This thread has been viewed 1144 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 23, 2018 03:51:50.