Custom JS for running against the form

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:

You can use the oneditprepare and oneditsave functions in the node's definition to trigger any custom behaviour you want in the edit dialog.

Thanks @knolleary, appreciate the help. It was right there in front of me. :neutral_face:

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