# Node-Red Editor: I need a button that will add an input field

**URL:** https://discourse.nodered.org/t/node-red-editor-i-need-a-button-that-will-add-an-input-field/52975
**Category:** Developing Nodes
**Created:** [30 October 2021 13:40 UTC](https://discourse.nodered.org/t/node-red-editor-i-need-a-button-that-will-add-an-input-field/52975 "2021-10-30T13:40:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![larslehman1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/larslehman1/32/47111_2.png) [@larslehman1](https://discourse.nodered.org/u/larslehman1)
#### Post date: [30 October 2021 13:40 UTC](https://discourse.nodered.org/t/node-red-editor-i-need-a-button-that-will-add-an-input-field/52975/1 "2021-10-30T13:40:17Z")

</div>

I am writing my own node. I need a button that will add an input field as soon as it is pressed.

Are there instructions for my problem somewhere?  
or explain to me how I can implement this in Node-Red ?

Thanks in advance, any tip would help me.

---

<div class="post-metadata">

### Author: ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)
#### Post date: [30 October 2021 13:47 UTC](https://discourse.nodered.org/t/node-red-editor-i-need-a-button-that-will-add-an-input-field/52975/2 "2021-10-30T13:47:41Z")

</div>

> [@larslehman1](#):
>
> I need a button that will add an input field as soon as it is pressed

Hi @larslehman1,  
Do you need to repeat this? I mean do you want to add an extra input field every time that button is pressed? If so I would use an [editableList](https://nodered.org/docs/api/ui/editableList/): every time you press the 'add' button, an extra row is added where you display your input field.

Bart

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [29 December 2021 13:48 UTC](https://discourse.nodered.org/t/node-red-editor-i-need-a-button-that-will-add-an-input-field/52975/3 "2021-12-29T13:48:09Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
