Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

livecycle form

Avatar

Avatar
Validate 1
Level 1
Ali_Haider_shib
Level 1

Likes

0 likes

Total Posts

52 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Ali_Haider_shib
Level 1

Likes

0 likes

Total Posts

52 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
Ali_Haider_shib
Level 1

04-03-2015

hi,

i have a pdf form made by adobe livecycle designer. here there r 2 fields. say one field A and anothe is B . i want to populate info in field b which will depend on value of A. IF i put 4 in A then B will 17., if A 5 B 21 .... etc. can u pls help to make such tye of code? 

thanks

Ali

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Affirm 1
Level 1
scottc30727408
Level 1

Likes

0 likes

Total Posts

10 posts

Correct Reply

2 solutions
Top badges earned
Affirm 1
View profile

Avatar
Affirm 1
Level 1
scottc30727408
Level 1

Likes

0 likes

Total Posts

10 posts

Correct Reply

2 solutions
Top badges earned
Affirm 1
View profile
scottc30727408
Level 1

16-03-2015

I am limited with Livecycle but I am going to try to help you as best I can. This solution may be helpful.

For field A you will need a script. JavaScript. On the change event. It should be similar to the one below.

(

if

Text.Field.A.rawValue == 4

then

Text.FIeld.B.rawValue == 17

elseif

Text.Field.A.rawValue == 5

then

Text.Field.B.rawValue ==21

endif

This code should get you on the right track. You can repeat sections of this code to allow for more bindings. Please forgive any scripting mistakes. As I said, this is only meant to help get you on the right track.