Focal Point
Passing checkbox value from HTML form to .fex...

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

March 22, 2007, 12:21 PM
Jason K.
Passing checkbox value from HTML form to .fex...
I'm trying to pass a value from an HTML form I created for my report .fex with the html layout tool. I've set one of the variables to have an input of a checkbox.

What is passed to my .fex when the checkbox is checked/not checked? When I put my amper variable into the report to see the value, it just returns a  

Thanks!


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
March 22, 2007, 12:39 PM
Leah
Has the check box been define with values associated to it?


Leah
March 22, 2007, 12:52 PM
Jason K.
that's it!
You're a genius.

thank you!


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
March 22, 2007, 12:53 PM
Francis Mariani
I think if a check-box is unchecked, nothing is passed via the CGI or servlet. If it is checked, the value assigned is passed.

<input type="checkbox" name="REP_STAT_IND" VALUE='I' maxLength=1>



Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
March 22, 2007, 03:15 PM
susannah
so therefore the fex will take its own DEFAULT value for that variable.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID