Logging from html oneditprepare

Hi.

I'd like to be able to log error messages from the oneditprepare function, but I'm having some problems figuring out how. Console.log seems to work but I can't find the message, it doesn't show up in the node-red output. What's the best way to do this?

oneditprepare is running in the browser so will be in the browser tools console. If you really need something back on the server side you would need to setup an endpoint in your .js file and post it back via http.

Oh I see! Well, that's logical. Thanks!

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