Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Sending display value to parm and actual value to second parm

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Sending display value to parm and actual value to second parm
 Login/Join
 
Member
posted
Hi All,
I have an HTML form that contains a control, which passes values to two parms. I need to be able to send the display value to one of the parms while sending the actual value to the other parm. Has anyone done this? Opened a case with IB, they are researching, a js solution because this doesn't work in the composer on our version (8.1.5m) was hoping someone has already done this.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.05
Windows , Excel, PDf, HTML
 
Posts: 27 | Location: Nashville Tn | Registered: January 12, 2010Report This Post
Gold member
posted Hide Post
One way is to make a hidden textbox populate with the value that the control isn't sending.
Can set the hidden textbox when the controls value is changed or before the run button runs the report.

This would be the javascript could use that would get the DisplayValue/text of the control and set that value to another control.

 IbComposer_setCurrentSelection('txtDDLDescription',IbComposer_getCurrentSelectionEx('cbxDDLValue')[0].getDisplayValue(), false); 


cbxDDLValue would be the name of the control that want both the value and display value for. While the txtDDLDescription is the new hidden control that can link the second parameter to.

If want to reverse so the hidden control has the value can do .getValue() instead of .getDisplayValue()

Those are functions IBI made and at least according to the documentation should be in 8.1.5m. This is a link to where can learn about those functions.
Using JavaScript Code With HTML Canvas Pages


WF: 8201, OS: Windows, Output: HTML, PDF, Excel
 
Posts: 78 | Registered: November 08, 2010Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Sending display value to parm and actual value to second parm

Copyright © 1996-2020 Information Builders