Hi, I'm using Livecycle Designer ES (V 8.2).
I have included a checkbox object in my form which, when checked, displays a hidden subform where users enter text in a multiline text field (Sample of script below). The users then save and close the form.
My problem is that when users open the form again, the checkbox remains checked, however to display the completed subform, the user needs to uncheck the box and then check it again. I want the form to open again with the completed subform visible. Is there anything I can add to the script below to make this happen? Any help would be most appreciated.
form1.frmAssessorDetails.frmOmitSections.chkCurrentMedications::click - (JavaScript, client)
if
(this.rawValue == 1){
frmCurrentMedications.presence
= "visible"
}
else{
frmCurrentMedications.presence
= "hidden"
}