Examples

These are some simple examples of how you can use the Infor Public Sector JavaScript API:

//Set the value of a control
getControl("ebParcelID").setControlValue("A390");

//Read the value of a contnrol
var parcelID=getControl("ebParcelID").getControlValue();

//Disable a control
getControl("ebParcelID").setEnabled('false');

//Enable a control
getControl("ebParcelID").setEnabled('true');

//Hide a control
getControl("ebParcelID").setVisible('false');

//Show a control
getControl("ebParcelID").setVisible('true');