Hello mumu64
In the demo, the submit button show an alert with a pseudo JSON with the form's content. This is for testing purpose.
I override the submit event and I use "on click".
I set the global variable resultForm with the form's content.
The expression GetValue("name") returns the value for the element with ID = "name".
The expression HTMLgetVALUE returns the value for the element selected.
The expression HTMLgetValueRadio(radioName) returns the value for the radio element with name=radioName.
The expression GetCheckedStatusQuerySelector(selectors) return the value for a radio element selected with a Document.querySelector()