Reputation: 39
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
Reputation: 10621
Use underline
attribute of node font property:
xfa.resolveNode("data.MainPage.BillingReport.Invoices.DATA["+i+"].QUANTITY").font.underline = "1";
Upvotes: 1