# I added input feilds dynamically then how can i save data from those inputs in the defaults

**URL:** <https://discourse.nodered.org/t/i-added-input-feilds-dynamically-then-how-can-i-save-data-from-those-inputs-in-the-defaults/62687>\
**Category:** Developing Nodes\
**Created:** [16 May 2022 11:57 UTC](https://discourse.nodered.org/t/i-added-input-feilds-dynamically-then-how-can-i-save-data-from-those-inputs-in-the-defaults/62687 "2022-05-16T11:57:14Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [16 May 2022 12:34 UTC](https://discourse.nodered.org/t/i-added-input-feilds-dynamically-then-how-can-i-save-data-from-those-inputs-in-the-defaults/62687/4 "2022-05-16T12:34:58Z")

</div>

By the looks of it, your custom node is not using the dedicated [`editableList`](https://nodered.org/docs/api/ui/editableList/)

I would suggest you look at the source of any of the built in nodes that have an `editableList` for reference.

In short, you need to loop through the entries in `oneditsave` and store them as an object or array in the defaults. See here for more info: [Node edit dialog : Node-RED](https://nodered.org/docs/creating-nodes/edit-dialog)

---

_[View the full topic](https://discourse.nodered.org/t/i-added-input-feilds-dynamically-then-how-can-i-save-data-from-those-inputs-in-the-defaults/62687)._
