https://github.com/lennartkloock/json-html-forms
Small script to transmit HTML forms as json
https://github.com/lennartkloock/json-html-forms
html-form json transmit-html-forms
Last synced: about 2 months ago
JSON representation
Small script to transmit HTML forms as json
- Host: GitHub
- URL: https://github.com/lennartkloock/json-html-forms
- Owner: lennartkloock
- License: gpl-3.0
- Created: 2021-01-18T17:28:37.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-02T17:46:34.000Z (about 5 years ago)
- Last Synced: 2026-04-27T16:38:33.351Z (2 months ago)
- Topics: html-form, json, transmit-html-forms
- Language: JavaScript
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# json-html-forms
This is a small js script to transmit HTML forms as json. It prevents the HTML form to be send and instead sends it as a json object.
It needs to be added at **the end of the DOM** to detect all forms.
## Example
```html
Json HTML Forms – Example
This form will be submitted to /submit
Name:
How old are you?
Telephone Number:
Do you like Pizza?
```