Input(output is below)

Fieldset1

Fieldset2

About

This form is managed by Elm with only type Msg = OnFormChange String. And happens to be triggered by form [ on "change" ... ].

Don't focus on characteristics of form change event; you can wire up NativeForm to any different event handlers instead.

See more at Github or Package doc

Parsed output

Ok { mycheckbox = [Crochet], mycolor = { blue = 0, green = 0, red = 0 }, mydate = Posix 2146780800000, mydatetimelocal = Posix 2146837500000, mynumber = Nothing, myselect = VeryGood, myselectmulti = [], mytext = "hello world", myurl = { fragment = Nothing, host = "localhost", path = "/", port_ = Nothing, protocol = Http, query = Nothing } }

Raw output

StringNativeForm.Value String
myselectOneValue "Very good"
mycheckboxOneValue "Crochet"
mytextOneValue "hello world"
mytextareaOneValue "lorem\nipsum"
myrangeOneValue "9"
myurlOneValue "http://localhost"
mycolorOneValue "#000000"
mydateOneValue "2038-01-11"
mydatetime-localOneValue "2038-01-11T15:45"
2