Hi
We have one requirement that One input field with date type is there.When we take Date type input field then in web dynpro Date navigater is appearing by default.Our requirement is if user enters the date manually in the input filed instead of chossing the date from the Date navigator then how we will do the following date validations manually:
a. If user is entering the date in any format then it should convert it to dd.mm.yy format.
b. How to do leap year validation?Suppose user is entering 29.02.20007 then it should display Invalid date.
c. How to do the follwing date validation:
Let's say that current running hours(Text Vie
w) on a given engine is 100, entered on 10-Jun-2008(Running hour date-Text view)).
-On 15-Jun-2008(New Running Hour Date-input field), I try to enter a value of 300 hours(New running hour-input field).
-This is impossible, because only 5x24=120 hrs has passed from the previous update.
-Hence, in this case the maximum value I can enter is 100+120=220.
Can anybody help me in solving the above 3 date validation?