# Best practice? collect all input fields at once

**URL:** <https://discourse.nodered.org/t/best-practice-collect-all-input-fields-at-once/60441>\
**Category:** Dashboard\
**Created:** [28 March 2022 10:19 UTC](https://discourse.nodered.org/t/best-practice-collect-all-input-fields-at-once/60441 "2022-03-28T10:19:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![protonmw](https://avatars.discourse-cdn.com/v4/letter/p/b3f665/32.png) [@protonmw](https://discourse.nodered.org/u/protonmw)\
**Post date:** [28 March 2022 10:19 UTC](https://discourse.nodered.org/t/best-practice-collect-all-input-fields-at-once/60441/1 "2022-03-28T10:19:13Z")

</div>

Hi all!

I need some inspiration on how to collect all user input fields at once by pressing a button.  
Is there a way to read out the choosen value of an numeric input field?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [28 March 2022 10:34 UTC](https://discourse.nodered.org/t/best-practice-collect-all-input-fields-at-once/60441/2 "2022-03-28T10:34:05Z")

</div>

Have a look at the ui\_form node, which may do what you want.  
If not then you can use a Join node to combine the inputs as they are entered, then trigger their release from the Join node by pressing the button. Make sure each field specifies a unique topic and set the Join node to key/value mode, and make the button generate `msg.complete` true so that it releases the combined message. Feed that into a debug node and you will see what you have.

---

<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:** [27 April 2022 10:34 UTC](https://discourse.nodered.org/t/best-practice-collect-all-input-fields-at-once/60441/3 "2022-04-27T10:34:19Z")

</div>

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