Is there a way that I can make future questions depend on if an answer is given to a specific question?
For example:
Where are you from?
[ ] United States
If that is not checked, future questions will be unavailable.
If it is checked, the next question would be available to be answered
What state are you from?
__________________
Thanks!
J
Solved! Go to Solution.
Views
Replies
Total Likes
It would be easier for me to see the form. If it's possible, please forward the form to stwalker.adobe@gmail.com and I will take a look.
Steve
Views
Replies
Total Likes
There are a variety of ways this can be accomplished. The two primary ways are access and presence. In the attached form I use both to enable data entry. The group of fields on the left are controlled by the 'access' property. Upon checking a country you have access to the applicable identification field. The group of fields on the right are control by the 'presence' property. Upon checking a country the applicable identification field is made visible.
Steve
Thank you for the help - However, I'm a beginner at this. I got the presence stuff figured out, but I can't figure out how to link the two.
Views
Replies
Total Likes
Which two parts can't you link together?
Steve
Views
Replies
Total Likes
I can get the Presence under the Object tab (making it visible, invisible, etc), but I am just baffled as to how I get it to appear when the button is clicked.
Any help?
Views
Replies
Total Likes
The form must be a dynamic PDF form. If you originally saved the form as a static PDF and subsequently added visibility scripting, the visibility behaviour will not occur. Save the form as dynamic PDF form and try it again.
Steve
Views
Replies
Total Likes
I have saved it only as a dynamic pdf. I think I'm screwed up on the "access" part... I am confused on the visibility scripting that you're talking about. I don't have this... That's what my original question was getting at. I don't have the XML script to make this available.
I'm assuming this is the XML I need to be duplicating (with the replacement of "ssn" "sin" "nid" "ssn_" "nid_" "sin_"..?
var residence = form1.page1.residence.rawValue;
switch (residence) {
case "1":
form1.page1.ssn.access = "";
form1.page1.sin.access = "readOnly";
form1.page1.nid.access = "readOnly";
form1.page1.sin.rawValue = "";
form1.page1.nid.rawValue = "";
form1.page1.ssn_.presence = "visible";
form1.page1.sin_.presence = "hidden";
form1.page1.nid_.presence = "hidden";
form1.page1.sin_.rawValue = "";
form1.page1.nid_.rawValue = "";
break;
case "2":
form1.page1.ssn.access = "readOnly";
form1.page1.sin.access = "";
form1.page1.nid.access = "readOnly";
form1.page1.ssn.rawValue = "";
form1.page1.nid.rawValue = "";
form1.page1.ssn_.presence = "hidden";
form1.page1.sin_.presence = "visible";
form1.page1.nid_.presence = "hidden";
form1.page1.ssn_.rawValue = "";
form1.page1.nid_.rawValue = "";
break;
case "3":
form1.page1.ssn.access = "readOnly";
form1.page1.sin.access = "readOnly";
form1.page1.nid.access = "";
form1.page1.ssn.rawValue = "";
form1.page1.sin.rawValue = "";
form1.page1.ssn_.presence = "hidden";
form1.page1.sin_.presence = "hidden";
form1.page1.nid_.presence = "visible";
form1.page1.ssn_.rawValue = "";
form1.page1.sin_.rawValue = "";
break;
default:
break;
}
Views
Replies
Total Likes
It would be easier for me to see the form. If it's possible, please forward the form to stwalker.adobe@gmail.com and I will take a look.
Steve
Views
Replies
Total Likes
Views
Likes
Replies