Copy link to clipboard
Copied
The value I put in "No of UTs" changes when I change something about "Proj Length" or click one of the check boxes. I want the value I put in "No of UTs" to stay the same if I modify the "Proj Length" or click one of the check boxes. I also want the script in "Complexity" to recognize any changes to the form.
Copy link to clipboard
Copied
In the "Complexity" field script you use single equal sign = to compare, you need to use double equal signs ==, like this:
if((this.getField("Proj Length").value < 1) && (this.getField("No of UTs").value == 4))
{
event.value = 4;
Fix all the lines where you used one = for compare.
Copy link to clipboard
Copied
The calculation code for "Complexity" is overwriting the value you're entering due to errors in it. Did you create this form? If not, report it to the author.
Copy link to clipboard
Copied
In the "Complexity" field script you use single equal sign = to compare, you need to use double equal signs ==, like this:
if((this.getField("Proj Length").value < 1) && (this.getField("No of UTs").value == 4))
{
event.value = 4;
Fix all the lines where you used one = for compare.
Copy link to clipboard
Copied
Thank you Nesa this fixed the problem! Your help with this project has been tremendous
Find more inspiration, events, and resources on the new Adobe Community
Explore Now