File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

comparing dates

 
akshaj nampelly
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two dates A and B on a form. Date A is displayed while I entering date B. If date B is prior to date A, it has to show valid error message when I submit the page. I want to use <logic> tag for this comparison and error message. How to go about it? Code snippet is appreciated.

Akshaj
 
Sajan Patel
Ranch Hand
Posts: 77
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On Submit you can call JAVAScript and in Java script you can do all comparing.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic