Focal Point
[CLOSED] Multi-select checkbox in HTML pass to another HTML with same mult-select

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/574104193

March 10, 2010, 07:31 PM
<Meghan>
[CLOSED] Multi-select checkbox in HTML pass to another HTML with same mult-select
Is it possible to have a fex (within an HTML page) pass the selections chosen to another HTML page? For example: I have a check box list of locations on one HTML page and the same check box list of locations on another HTML page. A fex on the first HTML page can drill to the second HTML but I want the check boxes to remain checked. I hope this makes sense.

This message has been edited. Last edited by: <Meghan>,
March 10, 2010, 07:38 PM
Waz
This depends on how the second HTML page is being created.

Is it a drill down, does it already exist, etc.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

March 10, 2010, 08:11 PM
Ram Prasad E
Collect the parameter values in DM variables and use
-HTMLFORM
to build the same page again. Here is the code snippet of the FEX.

-DEFAULT &CHK_1='';
-DEFAULT &CHK_2='';
-SET &CHK_1=IF &INPUT_CHK_1 EQ 1 THEN 'CHECKED' ELSE '';
-SET &CHK_2=IF &INPUT_CHK_2 EQ 2 THEN 'CHECKED' ELSE '';
.
.
-HTMLFORM BEGIN
.
.
<BODY>
<INPUT TYPE='CHECKBOX' NAME='INPUT_CHK_1' VALUE=1 &CHK_1>
<INPUT TYPE='CHECKBOX' NAME='INPUT_CHK_2' VALUE=2 &CHK_2>
<BR>
.
.
-HTMLFORM END




Hope this helps.


WebFOCUS 8.1.05
Windows
http://ibiwebfocus.wordpress.com
https://www.facebook.com/groups/ibi.webfocus/