# Forms Entry disappearing

**URL:** <https://discourse.nodered.org/t/forms-entry-disappearing/90490>\
**Category:** Dashboard\
**Tags:** node-red-dashboard\
**Created:** [27 August 2024 20:01 UTC](https://discourse.nodered.org/t/forms-entry-disappearing/90490 "2024-08-27T20:01:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nearbyatom](https://avatars.discourse-cdn.com/v4/letter/n/ec9cab/32.png) [@nearbyatom](https://discourse.nodered.org/u/nearbyatom)\
**Post date:** [27 August 2024 20:01 UTC](https://discourse.nodered.org/t/forms-entry-disappearing/90490/1 "2024-08-27T20:01:32Z")

</div>

I have a forms entry UI on my dashboard. I can enter values into it. Great! But is there a way to make my entry stay after I hit the submit button? I can enter values into it. It outputs and does its thing, but the value disappears.

```auto
[
    {
        "id": "b3b62da05decf94d",
        "type": "tab",
        "label": "Flow 2",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "a311d9f438ce0a32",
        "type": "ui_form",
        "z": "b3b62da05decf94d",
        "name": "",
        "label": "Int Number",
        "group": "88145eb0.23895",
        "order": 13,
        "width": 0,
        "height": 0,
        "options": [
            {
                "label": "wut is this",
                "value": "value",
                "type": "number",
                "required": true,
                "rows": null
            }
        ],
        "formValue": {
            "value": ""
        },
        "payload": "",
        "submit": "submit",
        "cancel": "cancel",
        "topic": "topic",
        "topicType": "msg",
        "splitLayout": "",
        "className": "",
        "x": 310,
        "y": 200,
        "wires": [
            [
                "67208e39cf9f055f"
            ]
        ]
    },
    {
        "id": "d44340b8689c7a1f",
        "type": "modbus-response",
        "z": "b3b62da05decf94d",
        "name": "",
        "registerShowMax": 20,
        "x": 1050,
        "y": 280,
        "wires": []
    },
    {
        "id": "423984e8b3c26593",
        "type": "modbus-flex-write",
        "z": "b3b62da05decf94d",
        "name": "",
        "showStatusActivities": false,
        "showErrors": false,
        "showWarnings": true,
        "server": "bf81420f.323c4",
        "emptyMsgOnFail": false,
        "keepMsgProperties": false,
        "delayOnStart": false,
        "startDelayTime": "",
        "x": 830,
        "y": 280,
        "wires": [
            [
                "d44340b8689c7a1f"
            ],
            []
        ]
    },
    {
        "id": "67208e39cf9f055f",
        "type": "function",
        "z": "b3b62da05decf94d",
        "name": "function 4",
        "func": "var value = msg.payload.value\nvar buf = Buffer.alloc(4);\nbuf.writeFloatBE(value);\nvar values = [(buf[2]*256) + buf[3], (buf[0]*256) + buf[1] ]\n\nmsg.payload = \n{ value: values, \n'fc': 16, \n'unitid': 1, \n'address': 28688 , \n'quantity': 2 } \n\nreturn msg",
        "outputs": 1,
        "timeout": 0,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 600,
        "y": 200,
        "wires": [
            [
                "423984e8b3c26593",
                "8cc33af046999468"
            ]
        ]
    },
    {
        "id": "8cc33af046999468",
        "type": "debug",
        "z": "b3b62da05decf94d",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 950,
        "y": 140,
        "wires": []
    },
    {
        "id": "88145eb0.23895",
        "type": "ui_group",
        "name": "PLC_Read",
        "tab": "a9e24f558660ab0d",
        "order": 1,
        "disp": true,
        "width": "8",
        "collapse": false,
        "className": ""
    },
    {
        "id": "bf81420f.323c4",
        "type": "modbus-client",
        "name": "PLC",
        "clienttype": "tcp",
        "bufferCommands": true,
        "stateLogEnabled": false,
        "queueLogEnabled": false,
        "failureLogEnabled": false,
        "tcpHost": "192.168.0.10",
        "tcpPort": "502",
        "tcpType": "DEFAULT",
        "serialPort": "/dev/ttyUSB",
        "serialType": "RTU-BUFFERD",
        "serialBaudrate": "9600",
        "serialDatabits": "8",
        "serialStopbits": "1",
        "serialParity": "none",
        "serialConnectionDelay": "100",
        "serialAsciiResponseStartDelimiter": "",
        "unit_id": 1,
        "commandDelay": 1,
        "clientTimeout": 1000,
        "reconnectOnTimeout": true,
        "reconnectTimeout": 2000,
        "parallelUnitIdsAllowed": true,
        "showErrors": false,
        "showWarnings": true,
        "showLogs": true
    },
    {
        "id": "a9e24f558660ab0d",
        "type": "ui_tab",
        "name": "MAIN",
        "icon": "dashboard",
        "order": 2,
        "disabled": false,
        "hidden": false
    }
]

```

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [27 August 2024 20:45 UTC](https://discourse.nodered.org/t/forms-entry-disappearing/90490/2 "2024-08-27T20:45:43Z")

</div>

Feed the output message back to the input.

---

<div class="post-metadata">

**Author:** ![nearbyatom](https://avatars.discourse-cdn.com/v4/letter/n/ec9cab/32.png) [@nearbyatom](https://discourse.nodered.org/u/nearbyatom)\
**Post date:** [28 August 2024 12:48 UTC](https://discourse.nodered.org/t/forms-entry-disappearing/90490/3 "2024-08-28T12:48:25Z")

</div>

Yes! I did had to manipulate the output, then loop back to the input. Thanks!

---

<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:** [11 September 2024 15:22 UTC](https://discourse.nodered.org/t/forms-entry-disappearing/90490/5 "2024-09-11T15:22:45Z")

</div>

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