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.
How to implement auto complete function in WebFOCUS?? I have a textbox in my UI, and it should be sutopopulated with values from the table according to the values I enter. Suppose my textbox is for fruits - when I type in B, suggestions should be provided from the table for fruits containing the letter 'B'. Just like what is done in google.
Have anyone tried implementing this using Ajax or javascript or anyother method??This message has been edited. Last edited by: Kerry,
If your source records are less in number, say less than 5000 elements. Then I would suggest to bring all the records and keep it in a hidden element(list box). When user hit any key, search against this hidden list box. Make sure the records are not sensitive, meaning any user can view all the records. Since its kept in hidden element. Users can see all the record elements via view-> source.
Could you please explain in an example. I am new to webfocus. It would be much appreciated if you can give some direction about how to use the above code in a text box.
I have a focus database file in which i have more then 50,000 providers. But it is linked with teams as i have created a chain in HTML.
So provider will be dependent on Team. When user will select team then in next list box only providers linked to that team will be selected but it will have 'ALL' Option as well.
Could you please guide me what is the best way to do this? Potentially 50 user might be accessing this at one time.
I look forward to hearing from you soon. Many Thanks Mustafa
Hi, I tried to achive Auto-Complete dropdown using "datalist" in WebFOCUS. Steps, I took , 1-Edit box(edit1) 2- list box.(combobox1) Bind listbox control with xml file and it works ,
function onInitialUpdate()
{
document.getElementById("edit1").setAttribute("list", "inputNamesList");
var datl = document.createElement("datalist");
//var att = document.createAttribute("id");
datl.setAttribute("id", "inputNamesList");
document.body.appendChild(datl)
var x = document.getElementById("combobox1");
var data= new Array();
for (i = 0; i < x.length; i++) {
data.push(x.options[i].text.trim());
}
var options = '';
for(var i = 0; i < data.length; i++)
options += '<option value="'+data[i]+'" />';
document.getElementsByTagName('datalist')[0].innerHTML = options;
}