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

Unable to automatically populate fields that have Global Data Binding

Avatar

Avatar
Validate 10
Level 3
Geckoz100
Level 3

Likes

20 likes

Total Posts

143 posts

Correct Reply

3 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 3
Geckoz100
Level 3

Likes

20 likes

Total Posts

143 posts

Correct Reply

3 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
Geckoz100
Level 3

11-01-2016

Hello,

I have a long LCD form with a button at the top that I use to fill the form with test data.  So that button just has a bunch of "rawValue = ____" statements.  But a few of the fields in the form use global data binding, and the button just won't fill those fields.  So I still have to fill those fields manually every time I want to test.  Can anyone tell me if there's a way to get around this?  Thanks for any help.

Kam.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 10
Level 3
Geckoz100
Level 3

Likes

20 likes

Total Posts

143 posts

Correct Reply

3 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 3
Geckoz100
Level 3

Likes

20 likes

Total Posts

143 posts

Correct Reply

3 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
Geckoz100
Level 3

15-01-2016

Just figured out the answer myself.  The issue was one of the questions being filled in was a Yes/No radio button that had "xfa.host.resetData" command in it.  So every time that radio button is clicked, the resetData function would clear out the fields in that section, and then of course everywhere else because of the global data binding.  I removed the resetData function, and problem solved.

Answers (0)