|Dynamic parameter properties [message #757572]
||Sat, 19 November 2011 15:51
| Missing name Missing name
Registered: November 2011
Is there a way to dynamically change some of the properties of a parameter?|
For example, I want to be able to change the value of the property "Is required" on one of my parameters.
This is because I only want parameter B to be required if parameter A != a certain value.
More specifically, I would like to do something like this..
var paramValue = reportContext.getParameterValue("ImpactAssessmentType"); //report parameter
if (paramValue == "(Show All)") // if 'Show All' was selected
ii = -1;
// change param2's "Is required" property to false
ii = 0;
// leave param2's "Is required" property alone
Powered by FUDForum
. Page generated in 0.01757 seconds