Add some validation of input and map field names to PDF fieldnames