Skip to Content
0
Former Member
Oct 27, 2005 at 05:24 PM

Date validation between two input fields

15 Views

Hi,

I am designing a report generation query page using WebDynpro. I have two Input fields with calendar controls, "From Date" & "To Date" so that i can select a range of dates.

Now, I want to make sure that the User does not choose date in such a way that the "To Date" is earlier than "From Date". If he does that, then a pop up message should be displayed.

Eg: The user should not be able to choose "From Date" as 25/10/2005 and "To Date" as 12/10/2001. The allowed selection order should be "From Date" as 12/10/2001 and "To Date" as 25/10/2005.

Can someone please explain how i can do this in WebDynpro step-by-step. I am very new to WebDynpro with no coding exp. Please include code, if any.

Thanks