chaitanya.koli Posted October 18, 2016 Share Posted October 18, 2016 Hi,I have created 2 text field parameters in jasper server , I want the user to enter in only one parameter among 2 of them (like we select radio buttons).Is there any way?Or else can I add "OR" between these 2 text fields parameters. Thank you. Link to comment Share on other sites More sharing options...
reportdev Posted October 18, 2016 Share Posted October 18, 2016 In the Jasper Studio, parameter options can be found for this option.Parameter Options - > is for Prompting.By default this is switched to True. You can disable it and the parameter will be hidden. Link to comment Share on other sites More sharing options...
hozawa Posted October 19, 2016 Share Posted October 19, 2016 Not as in a radio box. One possibility may be to use cascading input control but this will add another input control to select which parameter to enter. Link to comment Share on other sites More sharing options...
chaitanya.koli Posted October 20, 2016 Author Share Posted October 20, 2016 Hi hozawa, How can I acheive cascading input control in jasper server.I already created 3 parameters for 2 input where I adding first 2 parameters in 3rd param.For eg: In AWB_NO_PARAM I added 2 param within it ORDER_NO and AWB_NO :($P{AWB_NO}==""?($P{ORDER_NO}==""?"AND ORDER_NO IN('1')":"AND ORDER_NO IN('"+$P{ORDER_NO}.replaceAll(",","','").replaceAll(" ","")+"')"):" AND AWB_NO IN('"+$P{AWB_NO}.replaceAll(",","','").replaceAll(" ","")+"')")But how I can force user to enter details in only one parameter in jasper server? where I am showing him both parameter "AWB NO" and "ORDER NO" 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