Hey guys,
i am some steps foreward with my PDF document. But now i am fighting a new problem. I have a document with 4 checkboxes on a row. Every checkbox hides/show a subform. They are hidden when u start, and working on the document u call information by pressing a checkbox. With this system only info can be filled in whats needed. The rest stays hidden.
But, if one checkbox is checked, a other checkbox needs to reset and hide again.
I am using this code atm:
Mousedown:
xfa.host.resetData ("subform1_4, checkbox 1_4")
it works, couse he resets the fields. But he also resets other checkboxes. I cant find it whats wrong.
I use this code on Change:
if (Checkbox1_1.rawValue == 1) then
subform1_1.presence = visible
subform 1_4.presence = hidden
else
subform1_1.presence = hidden
endif
also, is it importend to use capitals like the "D"? --> resetData, or can i tjust type resetdata?
Cheers,
Roy