Answered
Within a folder level script I have a function that populates a field in the PDF which works fine when called from VB for that PDF. I have been having trouble getting the right syntax to change it so that I can use this function in other PDFs where the field would have a different reference. How can I change this function to make it useful for any PDF by passing a field name?
function InsertFirstName(sFirstName)
{
this.xfa.form.Root.Page6.Section10.FirstName.rawValue = sFirstName;
}
Thank you
George Kaiser