I have a fex that is passing parameters from a asp page front end. One of the fields is a check box. The drop down fields are just amper variables that I pass from the asp page, but how do I validate the check box in my fex?This message has been edited. Last edited by: Kerry,
If the box is not checked when the form is submitted, nothing for that form object is passed to WebFOCUS. You should default the form object parameter to a value in the WebFOCUS program:
-DEFAULT &SUBTOTALS = '';
Now you can check if the value of the form object parameter contains the checkbox value (in my example 'YES') or blank.
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
The answer is yes, you check for the value of &iHideNonShipable.
The first thing I do when writing a fex that is executed from a form submission is to add
-? &
to the begining of the fex. This will display all Dialogue Manager variables available in the fex - variables passed from the form, system variables and variables created in the fex.
To include HTML code in a forum posting, add "code" tags to the html:
[code]
your html here
[/code]
You can either type the code tags manually or click on the < / > icon.
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