cancel
Showing results for 
Search instead for 
Did you mean: 

Change text of UI-Element "Text" in JavaScript

0 Kudos

Hello,

I've got a UI-Element "Text" in a subform and want change the displayed text dynamically in JavaScript. Normally in design time I make a doubleclick on the Element an can enter the text. What syntax do I need? Something like this?

xfa.form.data. ... .myTextElement.resolveNode("caption.value.#text").value = "Test";

Thank you!

Ole.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ole,

Just use:

 myTextElement.rawValue = "Text";

Regards,

Aldo.

Answers (0)