Hello,
How to disable the last 5 years in input date or date picker. User need to select his birthday date but above the age of 5 can anyone suggest me how to do it in mobile application.
Thank you
Hi Priya
You can use "max" property for input date like below image-
Use syntax
SyntaxEditor Code Snippet
FormatDateTime(NewDate(2015,1,1),"yyyy-MM-dd")
You can modify date accordingly like
FormatDateTime(NewDate(AddYears(currdate(),-5),1,1),"yyyy-MM-dd")
Use same for DatePicker.
Hope this will help you.
Regards
Rahul Sahu