Pdf Javascript Populate One Field Based On Another