remove underlined textfield in javascript

eugzl

14-06-2018

Hi All.

I tried to remove underlined textfield dynamically. Code in javascript:

xfa.resolveNode("form1.page1.subForm.txtName.ui.#textEdit.border.corner.color").value = "255, 255, 255";

Also I tried like:

xfa.resolveNode("form1.page1.subForm.txtName.ui.#textEdit.border.corner").presence = "hidden";

but unfortunately unsuccessful. How to solve the problem?

Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

Magus069

MVP

14-06-2018

Like I said simply hide the border.

Set the if Statement with the condition if it should be visible or hidden and simply write

If this is not doing exactly what you expect, then I misunderstand what you are trying to do...

eugzl

14-06-2018

HI Magus069. Thanks for replay.

My purpose to remove line in underlined TextField by condition. In one case it should be presented and other case hidden.

Thanks.