# How to change the default text in FreeTextAnnotation

**URL:** <https://pdfjs.community/t/how-to-change-the-default-text-in-freetextannotation/936>\
**Category:** Technical Support\
**Created:** [August 6, 2021, 1:39pm UTC](https://pdfjs.community/t/how-to-change-the-default-text-in-freetextannotation/936 "2021-08-06T13:39:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pankaj](https://avatars.discourse-cdn.com/v4/letter/p/a9adbd/32.png) [@pankaj](https://pdfjs.community/u/pankaj)\
**Post date:** [August 6, 2021, 1:39pm UTC](https://pdfjs.community/t/how-to-change-the-default-text-in-freetextannotation/936/1 "2021-08-06T13:39:28Z")

</div>

**PDF.js Express Version**  
7.3.3

**Detailed description of issue**  
I want to change the default text/content in FreeTextAnnotation to “First Name”, currently it shows “Insert text here”.

**Expected behaviour**

**Does your issue happen with every document, or just one?**

**Link to document**

**Code snippet**

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [August 6, 2021, 1:39pm UTC](https://pdfjs.community/t/how-to-change-the-default-text-in-freetextannotation/936/2 "2021-08-06T13:39:31Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Create free text annotations in PDF.js Express](https://pdfjs.express/documentation/annotation/create-annotation-free-text)
- [Import and export annotations using a database](https://pdfjs.express/documentation/annotation/import-export/database)
- [Rich text](https://pdfjs.express/documentation/annotation/rich-text)

APIs:
- [Annotations.FreeTextAnnotation - getContents()](https://pdfjs.express/api/Annotations.FreeTextAnnotation.html#getContents__anchor)
- [Tools.FreeTextCreateTool](https://pdfjs.express/api/Tools.FreeTextCreateTool.html#__anchor)
- [Annotations.CalloutControlHandle](https://pdfjs.express/api/Annotations.CalloutControlHandle.html#__anchor)

Forums:
- [Customize freetext tool to change text and behavior programatically](https://pdfjs.community/t/customize-freetext-tool-to-change-text-and-behavior-programatically/94/1)
- [Freetext Annotation Text padding](https://pdfjs.community/t/freetext-annotation-text-padding/315/2)
- [How to create custom SelectionModel similar to the default 8 control handles](https://pdfjs.community/t/how-to-create-custom-selectionmodel-similar-to-the-default-8-control-handles/932/1)

---

<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 6, 2021, 7:28pm UTC](https://pdfjs.community/t/how-to-change-the-default-text-in-freetextannotation/936/3 "2021-08-06T19:28:32Z")

</div>


