We are using cfpdfform tag to populate a PDF. The goal will be to print these as certificates in coldfusion without needing to open them and print. In the PDF we have a barcode form field that we want to have populated. The obvious answer is to tie the value to another text field that holds the unique identifier. This seems to be script based and works great when filling the form by hand. cfpdfform seems to bypass scripts in the PDF. Our next attempt was to set the value so we tried
<cfpdfformparam name="Barcode" value="123456" >
This works kind of. Instead of the barcode (picture) the field will show the text "123456" (human readable not barcode).
We also tried adding script to the validation of the ID field and the "when print" event. These work great when a human opens the form and changes the field or clicks print
<cfpdfformparam name="Barcode" value="123456" >
This works kind of. Instead of the barcode (picture) the field will show the text "123456" (human readable not barcode).
We also tried adding script to the validation of the ID field and the "when print" event. These work great when a human opens the form and changes the field or clicks print