Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Set Page Variable from Input Box
Shasha
<p>I have a text report Item where I am having a input type as Text. </p>
<p>Now user is entering value in that text box. Can I get this user input value in some page or global variable and use in a different report item of type label after performing some concatenation in entered value??</p>
<p> </p>
<p>I tried the following</p>
<div><input type="text" id="textId" value="Entered value"/></div>
<div> </div>
<div>script written in other report item (HTML having a simple label)</div>
<div><script></div>
<div><VALUE-OF></div>
<div>var ab = reportContext.getDesignHandle().findElement("textId");</div>
<div>vars["pgVarTest"] = ab;</div>
<div>//reportContext.getDesignHandle().findElement("textId").text = "test"</div>
<div>//_jsContext.setPageVariable("pgVarTest",ab);</div>
<div></VALUE-OF></div>
<div>}</div>
<div></script></div>
<p> </p>
<p> </p>
<p>I need to pass this value in pgVarTest page variable.</p>
<p> </p>
<p> </p>
<p>Regards</p>
<p>Shashank</p>
Find more posts tagged with
Comments
There are no comments yet