# \[controlp5\] How to auto submit the change in text field? Currently need to press "enter" key

**URL:** https://discourse.processing.org/t/controlp5-how-to-auto-submit-the-change-in-text-field-currently-need-to-press-enter-key/6449
**Category:** Libraries
**Created:** [December 9, 2018, 8:05pm UTC](https://discourse.processing.org/t/controlp5-how-to-auto-submit-the-change-in-text-field-currently-need-to-press-enter-key/6449 "2018-12-09T20:05:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![taeyeyta](https://avatars.discourse-cdn.com/v4/letter/t/b77776/32.png) [@taeyeyta](https://discourse.processing.org/u/taeyeyta)
#### Post date: [December 9, 2018, 8:05pm UTC](https://discourse.processing.org/t/controlp5-how-to-auto-submit-the-change-in-text-field-currently-need-to-press-enter-key/6449/1 "2018-12-09T20:05:10Z")

</div>

I am using ControlP5 GUI library text fields  
it must to press enter to submit to set value  
How to auto submit the change in text field?

---

<div class="post-metadata">

### Author: ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)
#### Post date: [December 10, 2018, 7:43am UTC](https://discourse.processing.org/t/controlp5-how-to-auto-submit-the-change-in-text-field-currently-need-to-press-enter-key/6449/2 "2018-12-10T07:43:47Z")

</div>

i not understand, usually you just start to do something like this by  
checking on a library example, and there is one and it show  
the 2 versions,

- one with auto update at type ( you want this ?) and
- one with update on enter

Processing IDE 3.4  
[File][Example]  
[Contributed libraries][ControlP5][controllers]  
**ControlP5textfield**

more:  
[http://www.sojamo.de/libraries/controlP5/reference/controlP5/Textfield.html](http://www.sojamo.de/libraries/controlP5/reference/controlP5/Textfield.html)
