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

How to change a text-Field on the MasterPage

Avatar

Avatar
Validate 1
Level 1
dh1sbg-1
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
dh1sbg-1
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
dh1sbg-1
Level 1

22-08-2017

I need to change a text-field on the masterpage:

head.png

Formular1.#pageSet[0].Seite1.Schaltfläche1::click - (JavaScript, client)

// what is wrong with this code?

xfa.resolveNode("TestForm.#pageSet.Seite1.FP_Formular").rawValue="test"; //does not work

Formular1.Masterseite.Seite1.FP_Formular.rawValue="Test"; //does not work either

What do I do wrong?

Thanks for any help

Bruno

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
_Bruce_Robertson
MVP

25-08-2017

Hi Bruno.

I think you will need something like;

xfa.resolveNode("Formular1.#pageSet.Seite1.FP_Formular").rawValue="test";

I am not sure where "TestForm" came from in your code snippet, but is probably your problem.

Regards

Bruce

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
dh1sbg-1
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
dh1sbg-1
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
dh1sbg-1
Level 1

23-08-2017

My current solution is a hidden field in the body and the same name as in the MasterPage, both set to global