date field

Questionsdate field
german asked 10 years ago

Sir,

I have two date fileds .how to validate them
and the date2 should be greater than the date1 how to do it?

1 Answers
Abu Ghufran answered 10 years ago

The dates in validation field are strings.
You may need to convert to date object when comparing in javascript.

http://stackoverflow.com/questions/14781153/how-to-compare-two-string-dates-in-javascript

Your Answer

18 + 18 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?