HTML JSON form submission spec, W3
-
http://www.w3.org/TR/html-json-forms/
Hooray! Now we can see widespread adoption by 2018! XD
Sarcasm aside this will be incredibly useful once some nice backwards compatible shims are created. The way NodeBB handles forms at the moment is, for lack of a better word, a workaround.
-
Nice to see the W3 community has a sense of humour
EXAMPLE 6: Such Deep <form enctype='application/json'> <input name='wow[such][deep][3][much][power][!]' value='Amaze'> </form> // produces { "wow": { "such": { "deep": [ null , null , null , { "much": { "power": { "!": "Amaze" } } } ] } } }
Copyright © 2024 NodeBB | Contributors