...
Following APIs are exposed on the form Object to get a particular control
API | Description |
---|---|
get(conceptName) | Get a control object using concept name. |
get(conceptName, position) | Get a control object using conceptname and position. Position is used only when there are multiple concepts in the same form |
getById(ControlID) | Get a control object using control ID |
getPatient() | Get a patient object |
Following APIs are exposed on the control object
API | Description |
---|---|
getValue() | Returns value of a particular control |
setValue(value) | Set a value to a particular control |
getHidden() | Returns whether the control is hidden or not |
setHidden(hidden) | Hide/Show a particular control |
getEnabled() | Returns whether the control is enabled or not |
setEnabled(enabled) | Enable/Disabled a particular control |