Example of Form Filling in JavaScript PDF Library
This sample demonstrates how to fill and flatten the form fields to personalize your PDF document.It is also possible to create, edit, flatten and delete the form fields using the JavaScript PDF library.
DEMO
SOURCE
Please note that Adobe Reader or its equivalent is required to view the resultant document.
More information about the forms can be found in this documentation section.