Any time any field used in a calculation is updated, the entire pdf is recalculated.
Where have you placed this script?
What should happen if more than one condition is meet?
Ok, then I'm really confused here.
I have 4 text fields, and 5 drop downs. The text fields have script to display differnet strings depending on what is selected in various boxes.
One box does not work. For the ease of the discussion, we'll simplify it to this:
If Dropdown 1 =='yes' and Dropdown 2=='yes', then Text1=='Complete Section II'
If Dropdown 1=='no', then Text1=='Do Not Process'
else If Dropdown 2=='no', then Text1=='Have Colleague Do XYZ'
else if Dropdown 3=='yes' then Text1==' '
And it will not always hold true to the code. Like, it will work for the first one, but then gets stuck somewhere in my code and it just sticks on a particular output even when none of the conditions for that output are met.
And to make this more confusing, I've taken the "Do Not Process" out of the script completely... And it is still showing up. I really have no idea how that is even possible. It is not anywhere in the code, it is not anywhere in the text box default values, it is not anywhere, but there it is.
Now you state you have 5 text fields and each text field has a script that determines what should be displayed in each text field but do not provide the logic needed for each one of those 5 fields. I am assuming each text field has a different set of requirements to be meet for a given message to be displayed.
And yes, I am only updating one at a time. Think of this like an Excel sheet (because it works in Excel)--Cell B15 is has 4 different outcomes depending on the various combinations of what is input into cells A5, A17, and B33. In this case, those three are all drop downs, and B15 is the one I am trying to code.
You can use the "More tools" in the form editing mode or the combination of the Control/Option key and the "J" key.
Since you are updating each text field individually you need to provide the code for each text field.
It might be helpful you provided a link to a sample form with your code.