Rank: Newbie Groups: Member
Joined: 7/13/2015 Posts: 3
|
Is it possible convert HTML form elements like radio buttons, check boxes, text boxes and buttons to PDF form fields?
Thanks
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
No. It is not possible to do so. HTML form fields are far more versatile and powerful (especially together with JavaScript) than PDF form fields. As such it is not technically possible to convert HTML form fields to PDF fields and still retain all the functionalities.
You can however add PDF form fields programatically though. You can preserve the form fields space in your HTML (for example, by setting the input element's visiblity="hidden") and then use the returned HtmlToPdfResult object to find out the exact location and size of each HTML form elements in the rendered PDF file. Once you have that information, you can use our PDF Creator API to add PDF forms into the result PDF file.
Thanks!
|