# Select and create a group name using msg.payload

**URL:** https://discourse.nodered.org/t/select-and-create-a-group-name-using-msg-payload/79771
**Category:** Dashboard
**Tags:** node-red-dashboard
**Created:** [12 July 2023 14:44 UTC](https://discourse.nodered.org/t/select-and-create-a-group-name-using-msg-payload/79771 "2023-07-12T14:44:24Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [13 July 2023 11:40 UTC](https://discourse.nodered.org/t/select-and-create-a-group-name-using-msg-payload/79771/10 "2023-07-13T11:40:04Z")

</div>

I don't use subflows so this is mostly guesswork.

You can use a ui-control node to hide or reveal groups [Disable a dropdown node on the basis of a switch node result - #11 by E1cid](https://discourse.nodered.org/t/disable-a-dropdown-node-on-the-basis-of-a-switch-node-result/60882/11)

So maybe you could have several groups, each with the same set of text fields.  
The subflow could populate the fields in your chosen group and reveal it, hiding the others.

---

_[View the full topic](https://discourse.nodered.org/t/select-and-create-a-group-name-using-msg-payload/79771)._
