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.
I am trying to pass a parameter value, depending on a radio button selection, to the where clause in my code that loads my comboboxes that are chained together.
Can I use javascript to find value of a radio button and pass it to the where clause in my code that populates the combobox?
Whenever the user clicks on the radio button, the onclick event would reload the comboboxes.This message has been edited. Last edited by: Jay Potter,
WebFocus 8.1.5 iSeries/Windows DB2/SQL/Access Dev Studio App Studio Maintain ReportCaster
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011
Because a radio button control is made of more than one HTML object - it's best to use the HTML Composer "API" to determine which radio button was selected:
var myFormat = IbComposer_getCurrentSelection('WFFMT');
Passing the value to the WHERE statement is a different matter - I hope someone pipes in with a suggestion.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Thanks. I should have thought of that. Chaining a radio button and comboboxes is easy. But my next question is can you chain 2 calendar objects to a combobox. I would like to filter a combobox based on a "From" date and a "To" date. That is what I was original going for when I first ran into my challenge with filtering combox based on 2 values.
Thanks again on answering the first question.
WebFocus 8.1.5 iSeries/Windows DB2/SQL/Access Dev Studio App Studio Maintain ReportCaster
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011
Interesting concept... I haven't done that specifically. However, I would think that it's doable IF the comboboxes to which you are chaining TO has all the values which can be selected in the calendar controls...
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005