- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi Everyone,
I'm new to the forums so if I've posted this in the wrong location, I apologize.
I'm working on an interactive pdf and I need a bunch of check boxes to show as being "visible" or "invisible" depending on what has been typed into a text field. I'm able to get that to work, however I can't seem to get the check boxes to start off invisible. If I manually change the presence of the object to "invisible" my code stops working and the checkbox stays invisible all the time. Below is my coding.
This is coded in the "click" function of a button. I've tried it on my main page under the "calculation" event. The coding works the same but makes no difference to the starting presence of the check box.
if (adminpass == "") then
occ1.presence = "invisible"
elseif (adminpass == "123") then
occ1.presence = "visible"
elseif (adminpass == "off") then
occ1.presence = "invisible"
elseif (adminpass == "0") then
occ1.presence = "invisible"
endif
What each thing is.
adminpass: This is a text field for the user to input a password (password is 123 for the time being)
occ1: This is a check box that interacts with other aspects of the pdf. There will eventually be a total of 60 checkboxes.
I've imported artwork and have created forms and things over top of this artwork. As I understand it, there are limitations when you import artwork. If there is any other info required of me, please let me know. Any assistance would be greatly appreciated. Thanks in advance!
Jared
Solved! Go to Solution.
Views
Replies
Total Likes