Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
conditional parameter
Migrateduser
<p>Hi I can't find a way how to modify the isrequired proeprty of a paramater. Is this possible by script?
I have 2 parameters which are: isClientPaid (check box) and Client (dropdown). The client wants to have the Client dropdown to be required only IF the isClientPaid is unchecked. I successfully did this by modifying tge "validate" script</p><pre class="_prettyXprint">var isCLientPay = params["isCLientPaid"].valueif (isCLientPay==true) falseelse true</pre><p>but problem is the error msg popping up is not like the usual one and is not very user friendly with stack trace, and it doesn't go back to the parameter dialog box. I have read that it can be customized by creating my own parameter page, which is not really in our roadmap. My question is, is there a way using script to modify this?
like if(params["isClientPaid"]==true) params["Client"].isrequiredProperty==false else true somewhere in any of the Client param scrip methods?
Or any work around other than creating custom param page?
thanks.</p>
Find more posts tagged with
Comments
There are no comments yet