Fórumok
birthday validation
sasmita swain, módosítva 11 év-val korábban
birthday validation
Regular Member Bejegyzések: 183 Csatlakozás dátuma: 2012.02.24. Legújabb bejegyzések
hi
How To Validate Date Of birth Validation?
e.g-> if any one entet today date then error will show like age must be 18years or above
Thanks
Sasmita
How To Validate Date Of birth Validation?
e.g-> if any one entet today date then error will show like age must be 18years or above
Thanks
Sasmita
Dragon Ball, módosítva 11 év-val korábban
RE: birthday validation
New Member Bejegyzés: 1 Csatlakozás dátuma: 2012.03.13. Legújabb bejegyzések
in action class you have to write
then in jsp
hope this might help you!!!!
if (your condition) {
SessionErrors.add(request, "ageError");
response.setRenderParameter("jspPage", "jsp path");
}
then in jsp
<liferay-ui:error key="ageError" message="age should be greater than 18"></liferay-ui:error>
hope this might help you!!!!
sasmita swain, módosítva 11 év-val korábban
RE: birthday validation
Regular Member Bejegyzések: 183 Csatlakozás dátuma: 2012.02.24. Legújabb bejegyzések
Hi all
In create acoount.jsp birthday field is there..in that fileld by default it is comming like january 1 1970..but i want to display like dd-mm-yy in dropdown..if i am changing anything it is not affecting in birthday field..it is taking only default value
Thanks
Sasmita
In create acoount.jsp birthday field is there..in that fileld by default it is comming like january 1 1970..but i want to display like dd-mm-yy in dropdown..if i am changing anything it is not affecting in birthday field..it is taking only default value
Thanks
Sasmita