Modern Client Example
Using the uibuilder ESM library.
This is a form element, it is an easy way to get multiple user inputs and send them back to Node-RED.
Quick Message:
Send form values to Node-RED using uibuilder.eventSend
Send a custom msg back to Node-RED