beginners Problem with textfield

Avatar

Avatar
Validate 1
Level 1
jm29468764
Level 1

Likes

2 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
jm29468764
Level 1

Likes

2 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
jm29468764
Level 1

13-12-2015

In the following pdf I have made (as in the video) one field with a dropdownlist and a second field with a textfield.

as in the video I wrote the syntax to the textfield (of course in javascript). When changing the values from the Dropdown the same value should be shown in the textfield - but nothing ist happening.

I can't finde any mistake ???

View Entire Topic

Avatar

Avatar
Applaud 5
Level 1
alassir
Level 1

Likes

0 likes

Total Posts

17 posts

Correct reply

2 solutions
Top badges earned
Applaud 5
Affirm 1
View profile

Avatar
Applaud 5
Level 1
alassir
Level 1

Likes

0 likes

Total Posts

17 posts

Correct reply

2 solutions
Top badges earned
Applaud 5
Affirm 1
View profile
alassir
Level 1

14-12-2015

Hi jm29468764,

"this.rawValue" in the switch-Section cannot work (i guess...), as the value of the adressed field (Textfeld1) is always empty - so no switch is triggered.

If possible (I use ES 4) use the (in german) "Aktionsgenerator" (action Generator) to perform this task. I've done this and this code shows up:

//Formular1.#subform[0].DropdownListe1::change - (JavaScript, client)

this.resolveNode("Textfeld1").rawValue = $.boundItem(xfa.event.newText);

Hope this helps.

Regadrs

Dietmar