Generating HTML forms from JSON or XML feed using JQuery

后端 未结 2 1760
遥遥无期
遥遥无期 2020-12-02 23:42

I would like to create an HTML form based on XML or JSON data using Jquery and I also plan to validate any form fields that may be empty or incorrect.

I would like

2条回答
  •  囚心锁ツ
    2020-12-03 00:16

    I've found some of these that might help you:

    Generating forms from JSON schema:

    • how to create a html form using a JSON definition?
    • http://neyric.github.com/inputex/examples/json-schema.html
    • JavaScript to generate/render dynamic HTML form from JSON or similar data?
    • Any tool to generate html form

    Generating forms from an XML schema:

    • http://www.totallysmartit.com/examples/xml/questionnaire/
    • Create HTML form from XML
    • http://www.datamech.com/XMLForm/

    Samples from different libraries to generate form:

    • http://www.alpacajs.org/examples.html
    • http://jsonforms.io/#/examples
    • http://schemaform.io/examples/bootstrap-example.html

提交回复
热议问题