Concatenate Fields with Bold Text
Hello. I am using Adobe Acrobat XI Pro and am creating a form which concatenates several text fields into one. Some of the text needs to be in a bold font and the rest are not. I am using a Custom Calculation Script as follows:
// Get the field values, as strings
var s1 = getField("Paragraph1").valueAsString;
var s2 = getField("FName").valueAsString;
var s3 = getField("LName").valueAsString;
var s4 = getField("DateIssued").valueAsString;
var s5 = getField("Paragraph2").valueAsString;
// Combine values, separated by a space
event.value = s1 + " " + s2 + " " + s3 + " on " + s4 + ". " + s5;
I would like the text fields "FName" and "LName" to be bold, but the rest are not. I have tried searching this and can not find a resolution to my question. Can someone help please? Thank you.
