I am trying to find a way to make a UI interface on node red where I input a numeric value into the text input node then only send such when you click a submit button or slider being on.
I couldn`t find an example on the forum nor elsewhere...
The versions I have found on the forum look at how to set a value in stored using non UI nodes or their own buttons etc. My question was how to only use the UI nodes available.
Hi Colin, yes so I`ve been using the UI form- its very good, although annoyingly if I am inputting a number , say 345 with a name % it changes this into a {"%" :345}.
How would I be able to make a function that turns the msg.payload from {"%" :345} to purely 345?
Read the node-red docs page working with messages and it shows you how to get the path to a property in the debug pane so you can use that in a Change node. Also change the Name field in the form config to use something other than "%" so that the property name is not a special character so that it is easier to access. You can leave the Label at % as that is what appears on the form.