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     [solved] Dynamic Edit Box

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[solved] Dynamic Edit Box
 Login/Join
 
Guru
posted
Hello Gurus,
I have seen a demo recently using an HTML page built by AppStudio 8.1045 where a user is able to type in few characters and a text box works like a drop-down list to pick a row almost like an autosuggest. Has anyone tried to make it work? It seemed pretty simple but I coudnt get it work... Here's what I have with car file. A simple HTML page with a text box get values from GetCountries.fex shown as below but, nothing popus up.
  
TABLE FILE CAR

BY  CAR.ORIGIN.COUNTRY
WHERE CAR.ORIGIN.COUNTRY CONTAINS '&COUNTRY';
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE HOLD FORMAT XML

END


Thanks in advance!

This message has been edited. Last edited by: vaayu,


-********************
Sandbox: 8206.10
Dev: 8201M
Prod:8009
-********************
 
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004Report This Post
Virtuoso
posted Hide Post
Does your fex has the "Prompt for Parameters" checked (on) ?

Are you running from "Content" ?


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Platinum Member
posted Hide Post
If you had a table of values such as country you could just build a drop down menu for the user to choose. Make a small permanent hold file that stores nothing but values you want.

You could also use jquery UI's auto suggest widget but this requires custom coding.

Could use jquerys ajax function too.

Just some thoughts...


WebFOCUS App Studio 8.2.02
Windows 7, All Outputs
 
Posts: 141 | Location: Mclean, VA | Registered: December 04, 2012Report This Post
Guru
posted Hide Post
Its working now, it was easy. If you have app studio try it out. Create a new edit box control on html page and make it dynamic by selecting car file and pick any field like country. Run the html and start typing and you'll see the countries appear in the list.


-********************
Sandbox: 8206.10
Dev: 8201M
Prod:8009
-********************
 
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004Report 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     [solved] Dynamic Edit Box

Copyright © 1996-2020 Information Builders