# How can i get the text field value

**URL:** <https://pdfjs.community/t/how-can-i-get-the-text-field-value/214>\
**Category:** Technical Support\
**Created:** [August 20, 2020, 9:18am UTC](https://pdfjs.community/t/how-can-i-get-the-text-field-value/214 "2020-08-20T09:18:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ysc692](https://avatars.discourse-cdn.com/v4/letter/y/58956e/32.png) [@ysc692](https://pdfjs.community/u/ysc692)\
**Post date:** [August 20, 2020, 9:18am UTC](https://pdfjs.community/t/how-can-i-get-the-text-field-value/214/1 "2020-08-20T09:18:04Z")

</div>

Hello Support,

How can i get the PDF text field value?

May be like this : [https://pdfjs.express/api/Annotations.Forms.Field.html](https://pdfjs.express/api/Annotations.Forms.Field.html)

I’s it possible like this : alert(Annotations.Forms.Field.getValue(“text\_2”))

Thanks

---

<div class="post-metadata">

**Author:** ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)\
**Post date:** [August 20, 2020, 2:37pm UTC](https://pdfjs.community/t/how-can-i-get-the-text-field-value/214/2 "2020-08-20T14:37:46Z")

</div>

Hi there,

There is some examples [here](https://pdfjs.express/documentation/forms/fill-form-fields) of interacting with text fields.

The main class you’ll want to work with is the [`FieldManager`](https://pdfjs.express/api/Annotations.Forms.FieldManager.html#toc0__anchor)

Thanks,  
Logan
