Image Object
EFImage.getVisible()
Return the visibility of the image as true or false
var objImage = eform.get('Image1');
var val = objImage.getVisible();
alert(val);
EFImage.isReadOnly()
Return whether the image is read-only as true or false
var objImage = eform.get('Image1');
var val = objImage.isReadOnly();
alert(val);
EFImage.setReadOnly(true/false)
Set the image as read-only or not
Parameters:
- isReadOnly = true/false, for set read only to true or false and disable the input
var objImage = eform.get('Image1');
objImage.setReadOnly(true);
EFImage.setVisible (isVisible,isPermenant)
Set the image as visible or not
Parameters:
- isVisible = true/false, for set visible to true or false and disable the input
- isPermenant = Save the visible state or not. If this set to true, the visibility of the control is saved with the eform, if not that visibility control is one off only
var objImage = eform.get('Image1');
objImage.setVisible(true,true);
Commenting is not enabled on this course.