Underline string in Adobe Lifecycle Designer

812 Views Asked by At

I am trying to underline text using javascript in an adobe form. My current script is:

var a = this.getField("options").value;
of (a == "a") {
 event.value = (" model a paragraph ... ");

How can I get the first line in the paragraph to be underlined ?

1

There are 1 best solutions below

0
On

Use underline attribute of node font property:

 xfa.resolveNode("data.MainPage.BillingReport.Invoices.DATA["+i+"].QUANTITY").font.underline = "1";