Jump to content
JasperReports Library 7.0 is now available ×

Date Validation


dabicht

Recommended Posts

Hi guys,

 

I have following problem. I add a simple report in jasperserver. That report has a start and a end date. That means two input controls of type date/time. The input control page is generated correctly by and the report works. But how can I validate that the begin date is not earlier than 90 days before end date? I would like to enter in the minimum value field of the start date input control something like ">$P{endDate}-90". But that don't work and i get the message that this is no valid date format. Ok, any other suggestions from the experts?

 

I hope i must not create my own input control jsp page and add somthing with java script validation.

 

Thank you!

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...