pui.setMLTCHCFLD( field id, checkboxes )
This function emulates the green-screen keyword MLTCHCFLD by returning a count of selected checkboxes.
Parameters:
field id - id of a hidden element bound to the MLTCHCFLD response field
checkboxes - array of checkbox element id's
Example:
The following snippet of code would typically be assigned to the onsubmit event:
pui.setMLTCHCFLD("CHKBOXES", ["CHKBOXES_choice1", "CHKBOXES_choice2", "CHKBOXES_choice3"]);
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!