• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

comparing dates

 
akshaj nampelly
Greenhorn
Posts: 18
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic