# Textfield and Textarea

**URL:** <https://forum.inductiveautomation.com/t/textfield-and-textarea/1867>\
**Category:** Ignition\
**Created:** [May 26, 2010, 9:35am UTC](https://forum.inductiveautomation.com/t/textfield-and-textarea/1867 "2010-05-26T09:35:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajay](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@ajay](https://forum.inductiveautomation.com/u/ajay)\
**Post date:** [May 26, 2010, 9:35am UTC](https://forum.inductiveautomation.com/t/textfield-and-textarea/1867/1 "2010-05-26T09:35:09Z")

</div>

How to get the value entered in textfield and textarea using scripting function

---

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [May 26, 2010, 11:27am UTC](https://forum.inductiveautomation.com/t/textfield-and-textarea/1867/2 "2010-05-26T11:27:57Z")

</div>

Time to start reading the manual ajay 🙂

You need to get a reference to the object and (in the case of the 2 you’re interested in) read their text property.

For help with scripting with components, look in the help file under`Scripting / Python / Python in Ignition / Working with Components`For help with the text field and text area controls, see`Appendix A. Components / Input`

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [May 26, 2010, 5:18pm UTC](https://forum.inductiveautomation.com/t/textfield-and-textarea/1867/3 "2010-05-26T17:18:55Z")

</div>

In the event handler (or script editor) you can click on the link icon to the right of the script to bring in any property value, ie text field’s text. That way you don’t have to type in the path manually.
