Hello community, I am trying to separate the word that is entered in the "Código" field, that is, the user will enter, for example, AWS001, and I want that when the debuj node arrives, it is separated by a script as shown below "AWS-001"
[
{
"id": "582fe26bc3e697bb",
"type": "ui_form",
"z": "e9c7705cf137b29e",
"name": "",
"label": "",
"group": "1241bafcb7aa8ef3",
"order": 0,
"width": "6",
"height": "21",
"options": [
{
"label": "Canal Izquierdo",
"value": "pesoIzq",
"type": "number",
"required": true,
"rows": null
},
{
"label": "Canal Derecho",
"value": "pesoDer",
"type": "number",
"required": true,
"rows": null
},
{
"label": "Peso Total",
"value": "peso",
"type": "number",
"required": true,
"rows": null
},
{
"label": "Tipo",
"value": "tipo",
"type": "text",
"required": true,
"rows": null
},
{
"label": "Código",
"value": "codigo",
"type": "text",
"required": true,
"rows": null
}
],
"formValue": {
"pesoIzq": "",
"pesoDer": "",
"peso": "",
"tipo": "",
"codigo": ""
},
"payload": "",
"submit": "Enviar",
"cancel": "Cancelar",
"topic": "topic",
"topicType": "msg",
"splitLayout": false,
"x": 390,
"y": 200,
"wires": [
[
"bfe3e43b.85fa88"
]
]
},
{
"id": "1241bafcb7aa8ef3",
"type": "ui_group",
"name": "Datos",
"tab": "3eb7ca393c31b1fd",
"order": 1,
"disp": true,
"width": "6",
"collapse": false
},
{
"id": "3eb7ca393c31b1fd",
"type": "ui_tab",
"name": "Datos",
"icon": "dashboard",
"disabled": false,
"hidden": false
}
]