smembrino
smembrino

Reputation: 39

Underline string in Adobe Lifecycle Designer

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 ?

Upvotes: 3

Views: 992

Answers (1)

Suncatcher
Suncatcher

Reputation: 10621

Use underline attribute of node font property:

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

Upvotes: 1

Related Questions