lib/impl/pdfGeneration/processForm.js
function(field) {
  var converted = field.fieldId;
  converted.values = field.fieldValues;
  converted.sectionIndex = field.sectionIndex;
  return converted;
}
function(field) {
  var converted = field.fieldId;
  converted.values = field.fieldValues;
  converted.sectionIndex = field.sectionIndex;
  return converted;
}
function ( field ) { var converted = field . fieldId ; converted . values = field . fieldValues ; converted . sectionIndex = field . sectionIndex ; return converted ; }
Fields in submissions and fields in forms have a little bit different structure, this method converts submission
field into a form field.
@param field
Fields in submissions and fields in forms have a little bit different structure this method converts submission field into a form field .