I'm on day 2 of LiveCycle usage. Yesterday I figured out the GUI
components and today I'm working on scripting, so please forgive me if
I'm asking the obvious.
I'm experimenting with an employment application. I have a basic,
"Are you 18 or older? Yes/No If no, specify"
I have the specify object invisible by default and it becomes visible
if the 'No' is checked. I can't seem to figure out, via help files
and google, how to make the specify object required when 'No' is
checked and not required otherwise. Any pointers would be greatly
appreciated.
Below is my event code:
if (AgeYesNo == 1) then
AgeSpecify.presence = "invisible"
AgeSpecify = null
AgeSpecify.access = "readOnly"
elseif (AgeYesNo == 2) then
AgeSpecify.presence = "visible"
AgeSpecify.access = "open"
endif