# Form designer: How to complete form fields from an uploaded PDF form

**URL:** <https://discuss.workflowgen.com/t/form-designer-how-to-complete-form-fields-from-an-uploaded-pdf-form/260>\
**Category:** Form Designer\
**Created:** [February 5, 2014, 6:12am UTC](https://discuss.workflowgen.com/t/form-designer-how-to-complete-form-fields-from-an-uploaded-pdf-form/260 "2014-02-05T06:12:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wfg-admin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/wfg-admin/32/714_2.png) [@wfg-admin](https://discuss.workflowgen.com/u/wfg-admin)\
**Post date:** [February 5, 2014, 6:12am UTC](https://discuss.workflowgen.com/t/form-designer-how-to-complete-form-fields-from-an-uploaded-pdf-form/260/1 "2014-02-05T06:12:44Z")

</div>

You can populate fields of a WorkflowGen web form (built with the Form Designer) with values from a PDF form uploaded by the current user. To do this:

1. Reference the PDFSharp component (open source). [Download PDFSharp](http://www.pdfsharp.com/PDFsharp/) and copy the DLLs into the `\wfgen \WfApps\WebForms\Bin\PDFSharp.dll` folder.

2. Insert an attachment tool in your web form. From the toolbar, select the **Attachment** tool and click on **`+`** to insert it into your selected section.

3. Edit your inserted attachment by clicking on the pencil icon.

4. Add code-behind in your web form. In the Form Designer, click on the **.NET** icon.

5. Add and customize with your fields’ IDs the following code:

---

<div class="post-metadata">

**Author:** ![Hajer](https://avatars.discourse-cdn.com/v4/letter/h/f05b48/32.png) [@Hajer](https://discuss.workflowgen.com/u/Hajer)\
**Post date:** [June 10, 2021, 9:27am UTC](https://discuss.workflowgen.com/t/form-designer-how-to-complete-form-fields-from-an-uploaded-pdf-form/260/2 "2021-06-10T09:27:50Z")

</div>

Bonjour ,  
Est ce que le code behind permet de récupérer les données de fichier pdf dans (DropDownlist, Radiobuttonlist, checkboxlist) ??

Merci
