Focal Point
[SOLVED] Checkbox in header

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

June 20, 2013, 04:08 PM
Tim P.
[SOLVED] Checkbox in header
Hey guys:
Does anyone know a way to add an html checkbox to the header or subhead of a report?

I've been able to get the checkbox into the title of a column just haven't figured out a way to get it into the report header.

Thanks.

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS App Studio 8.2.02
Windows 7, All Outputs
June 20, 2013, 04:17 PM
njsden
DEFINE or COMPUTE an alpha field within which you'll create your HTML construct to produce a checkbox. Add that field to the HEADING or SUBHEAD as needed.

DEFINE FILE CAR
MYCHECKBOX/A100 = '<input type="checkbox" ......>';
END

TABLE FILE CAR
PRINT CAR AND MODEL AND MYCHECKBOX NOPRINT
BY COUNTRY
HEADING
"Check here: <MYCHECKBOX"

ON COUNTRY SUBHEAD
"Or check here: <MYCHECKBOX"

ON TABLE PCHOLD FORMAT HTML
END

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



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
June 21, 2013, 08:44 AM
Tim P.
ah, ok works perfectly. As it turns out i did try this but it didnt work at the time, turns out my jquery was causing the issue.

Thanks for the help!


WebFOCUS App Studio 8.2.02
Windows 7, All Outputs