I am new to node red, and I am trying to determine the mechanism (if any) for applying client-side javascript to run with/against the form. I have seen places with examples of jquery with a custom nodes forms, but have been unable to figure out how to apply this through the html piece of the node or some other place. Thanks guys
Hi @justin
The docs cover the node's html file: https://nodered.org/docs/creating-nodes/node-html
You can use the oneditprepare
and oneditsave
functions in the node's definition to trigger any custom behaviour you want in the edit dialog.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.