Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

future date validation

 
sandeep chalishazarwala
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everybody,
I want to do validation for future date using validate method in struts 1.2 with validator form.(not with validation.xml)
Please guide me with proper answer

Thanking You
Sandeep
 
Arun R. S. Chandran
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Hi Sandeep,

You can try with JavaScript. I'm not sure struts is providing other techniques for the same.

Thanks and Regards ,
Arun
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you be more specific?

Are you asking how to determine if a date lies in the future? Or are you asking how to use the Struts 1 validation framework?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic