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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at firstname.lastname@example.org and provide your corporate email address, company, and name.
I'm attempting to create a Radio button in a HTML report that enables other controls conditioned on which button value is selected. For example, if the options on my radio button are 'CustomerID', and 'All CustomerID', I'd like an edit control to pop up when 'CustomerID' is selected, so I can manually type in a CustomerID. 'All CustomerID' would default to include all IDs. I've been able to do this in the text editor version of my report as seen below.
-IF &CUSTOMERID EQ _FOC_NULL THEN GOTO ALLCUST ELSE GOTO CUST; -CUST WHERE ORDERS.ORDERS.CUSTOMERID EQ '&CUSTOMERID'; -ALLCUST
How do I replicate this in HTML? ThanksThis message has been edited. Last edited by: FP Mod Chuck,
You have several options depending on your ability on coding.
In your HTML canvas/composer add your radio button (to select either All or specific customer) and a text box (for customerID entry) Then using either radio button Event handler or Task/Animations control the display or not of the entry control field and its value
Could be as simple as per below. In a domain, create a new Text Editor, paste below code then save as .htm type file
Could also be, but from what I understand there is only two choices : All or Specific CustID. And when the second is selected ModGuy wants to have an entry box to provide the CustId and not a list of all CustID
But your option is also valid if you want to provide a list of all CustID from which you pick from
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: 2410 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013