Home
|
Contact
HOME
HTML to PDF
PDF TOOLS
DEMO
DOWNLOAD
BUY NOW
SUPPORT
HTML to PDF Library for .NET
EvoPdf Chromium for .NET
Cross-Platform
HTML to PDF for .NET
HTML to PDF for Java
HTML to PDF for Azure
HTML to PDF for UWP
HTML to PDF for Xamarin
HTML to PDF for Mono
HTML to PDF Converter
EvoPdf Chromium
HTML to Image Converter
HTML to SVG Converter
SVG to PDF Converter
Word to PDF Converter
Excel to PDF Converter
RTF to PDF Converter
PDF to Text Converter
PDF to Image Converter
PDF to HTML Converter
PDF Images Extractor
PDF Print
PDF Merge
PDF Split
PDF Security
PDF Viewer for ASP.NET
PDF Viewer for WinForms
Cross-Platform
PDF Library for .NET
HTML to PDF Converter Demo
EvoPdf Chromium Demo
Order Online
Licensing & Prices
License Renewal
License Agreement
Our Customers
HTML to PDF Converter User Guide
EvoPdf Chromium User Guide
Contact Support
Collapse
Expand
HTML to PDF Converter
Getting Started with HTML to PDF
HTML Content Destination and Scaling in PDF
Convert the Current HTML Page to PDF
Convert a HTML Page to PDF in Same Session
Merge Multiple HTML Pages into a Single PDF
Merge HTML with Existing PDF Documents
Partially Convert of a HTML Page to PDF
Repeat HTML Table Header and Footer in PDF
Headers and Footers
Page Breaks Control
Screen and Print Media Types
Conversion Triggering Modes
Hierachical Bookmarks
Table of Contents
Live PDF Forms
Auto Create a Fillable PDF Form
Define in HTML the PDF Form Fields
HTML5 Features
HTTP GET and POST, Proxy Options
HTTP Headers and Cookies
Fonts Embedding
HTML Elements Location in PDF
HTML Elements Visibility in PDF
URI Links in PDF
Internal Links in PDF
File Links and Attachments
Text Notes in PDF
PDF Actions
HTML to PDF Elements
HTML to Image Elements
Images Quality in Generated PDF
Flash and Extensions Support
Watermarks and Stamps
PDF Background and Foreground
PDF/A and PDF/X Standards
CMYK and GrayScale Color Spaces
PDF Viewer Preferences
PDF Security Features
HTML to Image Converter
PDF Creator
PDF Editor
Live Demo
Description
Sample Code
Define in HTML the PDF Form Fields
You can select in HTML the fields you want to be converted to PDF form fields using the 'data-pdf-form-field' special attribute. The other HTML fields which were not explicitly selected will not be converted to PDF form fields. The Full Description and a Code Sample can be accessed from the top tabs.
Convert HTML String
Convert URL or Local File
HTML Form to Convert to a PDF Form
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>Select HTML Form Fields to Convert to PDF Form</title> </head> <body style="font-family: 'Times New Roman'; font-size: 14px"> <form name="inputForm" action="http://www.evopdf.com/pdf_forms_submit/" method="post"> <table> <tr> <td>First name:</td> <td style="width: 10px"></td> <td> <input data-pdf-form-field="true" type="text" name="firstname" value="Enter First Name"></td> </tr> <tr> <td>Last name:</td> <td style="width: 10px"></td> <td> <input data-pdf-form-field="true" type="text" name="lastname"></td> </tr> <tr> <td>Password:</td> <td style="width: 10px"></td> <td> <input data-pdf-form-field="true" type="password" name="password"></td> </tr> <tr> <td>Gender:</td> <td style="width: 10px"></td> <td> <input data-pdf-form-field="true" type="radio" name="gender" value="male" checked="checked">Male <input data-pdf-form-field="true" type="radio" name="gender" value="female">Female </td> </tr> <tr> <td>Vehicle:</td> <td style="width: 10px"></td> <td> <input type="checkbox" name="car" value="car" checked="checked">I have a car <input type="checkbox" name="bike" value="bike">I have a bike </td> </tr> <tr> <td>Vehicle Type:</td> <td style="width: 10px"></td> <td> <select> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="audi" selected="selected">Audi</option> <option value="opel">Opel</option> </select> </td> </tr> <tr> <td>Comments:</td> <td style="width: 10px"></td> <td> <textarea style="width: 250px; height: 75px">Enter your comments here: First comment line Second comment line</textarea></td> </tr> <tr> <td colspan="3" style="height: 10px"></td> </tr> <tr> <td colspan="3"> <input data-pdf-form-field="true" type="submit" name="submitButton" value="Submit"></td> </tr> </table> </form> </body> </html>
Base URL