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

Help with adding a button to copy a .txt file in to a text field

Avatar

Avatar
Validate 1
Level 1
ant_ric
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
ant_ric
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

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

26-06-2015

Hello,

sorry if this is a very simple thing to do but its been a long time since I last used livecycle and javascript and my knowledge of javascript is not very good.

I am trying to insert text from a .txt file in to a text field in a form, I think I can use importTextData but I have no idea how to add this to a button?

Thank you in advance for any help on this.

Rick

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Boost 5
Level 2
PDFGuru
Level 2

Likes

14 likes

Total Posts

75 posts

Correct Reply

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

Avatar
Boost 5
Level 2
PDFGuru
Level 2

Likes

14 likes

Total Posts

75 posts

Correct Reply

10 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile
PDFGuru
Level 2

25-08-2015

On Click Event of a Button, type following script:

xfa.host.importData();