Closed (fixed)
Project:
Webform2PDF
Version:
6.x-2.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2012 at 16:11 UTC
Updated:
18 Mar 2014 at 13:31 UTC
Jump to comment: Most recent
I just noticed that my webform's number type fields didn't appear in the Content of the PDF document section.
I created a little patch so that I can use these fields. Please review and extend the base code with it.
| Comment | File | Size | Author |
|---|---|---|---|
| webform2pdf_number_type_fix.patch | 527 bytes | mezitlab |
Comments
Comment #1
mr.york commentedCommited. Thank you.
Comment #3
sdsheridanI think you want to make the solution a bit more robust than this, as this solution ignores the number-formatting options chosen when the component is configured. The inclusion in function _webform2pdf_list_template_vars per the patch is fine, but in function _webform2pdf_get_template_vars, a more robust solution would be a separate case, as follows:
Shawn
Comment #4
sdsheridanComment #5
mr.york commentedLittle bit choesed your code, and commited.