Quantcast
Channel: Adobe Community : Unanswered Discussions - Acrobat
Viewing all articles
Browse latest Browse all 73766

Delay in Cal fields.

$
0
0

I have a drop down with over 100 options.  I have placed a script on blur to enter some values into hidden text boxes based on the selected item in the drop down.  These boxes are used in calculations for a viable field.

 

Problem = The first use performs perfectly, but should the user change their drop down choice the old values remain in the displayed box until the user tabs through at least 3 fields, at which point they reset to their new values.

 

Example short hand (yes I know its not code but it is easer to follow)

hidboxA = 1

 

if DropBox = 1

then hidbox1 = 3;

        hidbox2 = 0;

        hidbox3 = 1;

 

else if DropBox = 2

then hidbox1 = 0;

        hidbox2 = 2;

        hidbox3 = 0;

 

VisBox1 = hidboxA + hidbox1

VisBox2 = so on.

 

When the user changers their mind from drop down 1 to drop down 2 then VisBox1 should read = 1 as soon as they tab out of the dropbox, but it does not?  Don't know what I am doing wrong here but any help is appreciated.


Viewing all articles
Browse latest Browse all 73766

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>