This is the location of the template pdf to be refrenced in the xfdf document.
translateBools
This will translate booleans in a javascript literal to 'Yes' or 'Off', which are used to flag checkboxes or radios in Adobe forms
default: true
format
This module uses xmlbuilder to construct the xfdf xml document. xmlbuilder has several formating options which can be specified when creating the xml document. You can see those options here
default:
pretty: true indent: ' ' newline: '\n'
Methods
addField('fieldname', 'fieldvalue')
Will add a field to xfdf document.
Argument should be a hash with two keys: name, value;
builder.addField('FieldName', 'FieldValue');
fromJSON({data})
You can use this method to pass an entire javascript literal to be consumed by the XFDF builder.
Format of object should be: