# Ui\_form ignores socketid?

**URL:** <https://discourse.nodered.org/t/ui-form-ignores-socketid/74083>\
**Category:** Dashboard\
**Created:** [23 January 2023 13:29 UTC](https://discourse.nodered.org/t/ui-form-ignores-socketid/74083 "2023-01-23T13:29:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoW](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jow/32/108217_2.png) [@JoW](https://discourse.nodered.org/u/JoW)\
**Post date:** [23 January 2023 13:29 UTC](https://discourse.nodered.org/t/ui-form-ignores-socketid/74083/1 "2023-01-23T13:29:49Z")

</div>

updates from one socketid get sent to/are accepted for all socketids...  
On the other hand, if you click the submit button on the form, the fields get cleared, but not for the other socketids...

I know there is a fork mdashboard, but it's not been updated for 3 years, and I als would like to use the UI\_LIST (listbox, but not dropdown) and the 2 don't seem to work together.

example (open 2 windows, click on the button and watch the other form change as well.  
the message from the button does contain the correct socketid...

```auto
[
    {
        "id": "b7674213daf430ad",
        "type": "tab",
        "label": "Flow 2",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "1cdc5625d34cf8fb",
        "type": "ui_form",
        "z": "b7674213daf430ad",
        "name": "",
        "label": "",
        "group": "af727eb84f4dca0d",
        "order": 0,
        "width": 0,
        "height": 0,
        "options": [
            {
                "label": "timestamp",
                "value": "timestamp",
                "type": "text",
                "required": true,
                "rows": null
            }
        ],
        "formValue": {
            "timestamp": ""
        },
        "payload": "",
        "submit": "submit",
        "cancel": "cancel",
        "topic": "topic",
        "topicType": "msg",
        "splitLayout": "",
        "className": "",
        "x": 570,
        "y": 120,
        "wires": [
            [
                "3e2df7167ec6b5df"
            ]
        ]
    },
    {
        "id": "902d5aef892dab70",
        "type": "ui_button",
        "z": "b7674213daf430ad",
        "name": "",
        "group": "af727eb84f4dca0d",
        "order": 1,
        "width": 0,
        "height": 0,
        "passthru": false,
        "label": "button",
        "tooltip": "",
        "color": "",
        "bgcolor": "",
        "className": "",
        "icon": "",
        "payload": "",
        "payloadType": "str",
        "topic": "topic",
        "topicType": "msg",
        "x": 250,
        "y": 120,
        "wires": [
            [
                "af26661bb53bd6c6",
                "9bd14b2e84ca3e2d"
            ]
        ]
    },
    {
        "id": "af26661bb53bd6c6",
        "type": "function",
        "z": "b7674213daf430ad",
        "name": "function 1",
        "func": "msg.payload = {};\nmsg.payload.timestamp = Date.now();\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 420,
        "y": 120,
        "wires": [
            [
                "1cdc5625d34cf8fb"
            ]
        ]
    },
    {
        "id": "9bd14b2e84ca3e2d",
        "type": "debug",
        "z": "b7674213daf430ad",
        "name": "debug 3",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "statusVal": "",
        "statusType": "auto",
        "x": 480,
        "y": 40,
        "wires": []
    },
    {
        "id": "3e2df7167ec6b5df",
        "type": "debug",
        "z": "b7674213daf430ad",
        "name": "debug 4",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "statusVal": "",
        "statusType": "auto",
        "x": 720,
        "y": 120,
        "wires": []
    },
    {
        "id": "af727eb84f4dca0d",
        "type": "ui_group",
        "name": "test",
        "tab": "f31c9c0328fbb003",
        "order": 1,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "f31c9c0328fbb003",
        "type": "ui_tab",
        "name": "Test",
        "icon": "dashboard",
        "disabled": false,
        "hidden": false
    }
]

```

---

<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:** [22 February 2023 13:30 UTC](https://discourse.nodered.org/t/ui-form-ignores-socketid/74083/2 "2023-02-22T13:30:48Z")

</div>

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