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!
March 22, 2007, 12:39 PM
LeahHas the check box been define with values associated to it?
March 22, 2007, 12:53 PM
Francis MarianiI 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
susannahso therefore the fex will take its own DEFAULT value for that variable.