kadimulam Posted February 18, 2009 Share Posted February 18, 2009 Hi, Can you please tell me how to do client side validations using JasperServer and iReport?I have a drop down as a user control for 'City' field. I have a default option called 'Select a value'. So whenever user selects 'Select a value' and clicks on Sumbit, i should not allow user to view the report and should throw an error saying 'Please select a value for City'.I am using JasperServer 3.0 and iReport 3.0. Thanks,Kiran Link to comment Share on other sites More sharing options...
swood Posted February 25, 2009 Share Posted February 25, 2009 You need a custom parameter JSP. This can be set on the report unit - see the Resources List screen in the Report Unit maintenance screens. Have a look at WEB-INF/jsp/DefaultParametersForm.jsp as a guide to developing a custom parameter form. In your case, you would need to add some Javascript to catch the unentered value. ShermanJaspersoft Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now