HTML Form Fields Script

We realized we could pilot validated forms with an html script inside a Frame plugin. See HTML Form Fields

This has the advantage that we can include the styling from the example. mdn

http://ward.dojo.fed.wiki/assets/pages/html-form-fields-script/form-demo.html HEIGHT 400

We've written a submit handler that collects input values and opens a new page with that data shown. github

const data = [...document.querySelectorAll('input')] .map(elem => elem.value)

We see that our handler interferes with the built-in validation logic. Also, it seems that extracting meaningful data will require input specific javascript.

pages/html-form-fields-script