# How to prefill Dashboard2 form with values from input

**URL:** https://discourse.nodered.org/t/how-to-prefill-dashboard2-form-with-values-from-input/92946
**Category:** Dashboard
**Tags:** dashboard-2
**Created:** [6 November 2024 20:18 UTC](https://discourse.nodered.org/t/how-to-prefill-dashboard2-form-with-values-from-input/92946 "2024-11-06T20:18:53Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![GIGS1975](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gigs1975/32/47306_2.png) [@GIGS1975](https://discourse.nodered.org/u/GIGS1975)
#### Post date: [6 November 2024 20:18 UTC](https://discourse.nodered.org/t/how-to-prefill-dashboard2-form-with-values-from-input/92946/1 "2024-11-06T20:18:53Z")

</div>

Hello guys  
Is it possible to prefill dashboard2 form with some value?  
I have a table and when some clicks ona row i want the content of that row to be filled into my form, so user can edit it and save it back. Is it somehow achievable?  
Thanks in advance

---

<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: [6 November 2024 20:26 UTC](https://discourse.nodered.org/t/how-to-prefill-dashboard2-form-with-values-from-input/92946/2 "2024-11-06T20:26:30Z")

</div>

It's detailed in the docs: [Form ui-form | Node-RED Dashboard 2.0](https://dashboard.flowfuse.com/nodes/widgets/ui-form.html#populating-form-data)

---

<div class="post-metadata">

### Author: ![omrid](https://avatars.discourse-cdn.com/v4/letter/o/77aa72/32.png) [@omrid](https://discourse.nodered.org/u/omrid)
#### Post date: [7 November 2024 07:54 UTC](https://discourse.nodered.org/t/how-to-prefill-dashboard2-form-with-values-from-input/92946/3 "2024-11-07T07:54:10Z")

</div>

> [@GIGS1975](#):
>
> I have a table and when some clicks ona row i want the content of that row to be filled into my form, so user can edit it and save it back. Is it somehow achievable?

Another option is to use a table node which supports direct in-cell editing, such as `@omrid01/node-red-dashboard-2-table-tabulator`

---

<div class="post-metadata">

### Author: ![GIGS1975](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gigs1975/32/47306_2.png) [@GIGS1975](https://discourse.nodered.org/u/GIGS1975)
#### Post date: [7 November 2024 13:49 UTC](https://discourse.nodered.org/t/how-to-prefill-dashboard2-form-with-values-from-input/92946/4 "2024-11-07T13:49:38Z")

</div>

> [@omrid](#):
>
> @omrid01/node-red-dashboard-2-table-tabulator

thanks for the help

---

<div class="post-metadata">

### Author: ![GIGS1975](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gigs1975/32/47306_2.png) [@GIGS1975](https://discourse.nodered.org/u/GIGS1975)
#### Post date: [7 November 2024 13:49 UTC](https://discourse.nodered.org/t/how-to-prefill-dashboard2-form-with-values-from-input/92946/5 "2024-11-07T13:49:44Z")

</div>

thanks for the help

---

<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: [21 November 2024 13:50 UTC](https://discourse.nodered.org/t/how-to-prefill-dashboard2-form-with-values-from-input/92946/6 "2024-11-21T13:50:24Z")

</div>

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