Focal Point
(CLOSED)Unchecked Box Value

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

September 28, 2020, 03:33 PM
evan.brown
(CLOSED)Unchecked Box Value
I have an html page that needs to feed a fex the values selected on the page. I have a check box that is bound to a parameter named DISRUPT. When the fex runs, it says I'm missing a value for &DISRUPT. I have -DEFAULT &DISRUPT='N' at the top of the procedure being run so that it provides a value, yet it still says it's missing a value. When the box is checked, it gets set to 'Y' as intended. Any clue what I need to do to satisfy the parameter when a box is unchecked? Thanks

This message has been edited. Last edited by: evan.brown,


WF 8.0.08 (Prod); WF 8.2.06 (Dev)
September 28, 2020, 05:44 PM
Waz
As far as I understand and seen over the years, unchecked checkboxes values do not get sent.

Also use -DEFAULTH instead of -DEFAULT


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!

September 29, 2020, 04:07 AM
Wep5622
That sounds like you might have unterminated expressions preceding that -DEFAULT expression. What's the code around it?


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
September 29, 2020, 10:00 AM
evan.brown
Well, I'm not sure exactly how it was fixed, but it appears to be working now. I removed all but just the necessary DEFAULT just before it started working. Not sure if this fixed it or it was something else...Thanks for the help.


WF 8.0.08 (Prod); WF 8.2.06 (Dev)