https://github.com/hcoz/dynamicform
a client-side dynamic form generator based JSON data structure
https://github.com/hcoz/dynamicform
form form-builder javascript jquery webcomponent
Last synced: 6 months ago
JSON representation
a client-side dynamic form generator based JSON data structure
- Host: GitHub
- URL: https://github.com/hcoz/dynamicform
- Owner: hcoz
- License: apache-2.0
- Created: 2017-09-01T22:34:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-01-29T09:09:27.000Z (almost 5 years ago)
- Last Synced: 2025-05-16T09:14:20.163Z (7 months ago)
- Topics: form, form-builder, javascript, jquery, webcomponent
- Language: JavaScript
- Homepage:
- Size: 25.4 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.webcomponents.org/element/hcoz/dynamicform)
# dynamicform
a client-side dynamic form generator
This library enables adding forms with "dynamicform" custom HTML tag. This tag needs an 'id' attribute and 'data-json' attribute includes path of related form JSON file. There is an example HTML file in repo.
## Installing
You can use bower to install this package. Just run this command:
```
bower install dynamicform
```
Also, you can use it by downloading directly under 'dist' folder.
There is a task runner for minifying it. You can run it also by this command:
```
gulp compress
```
### There is an example usage below:
```
```
This JSON file includes the structure of the related form. There is an example JSON file in repo.
There are two versions of this library:
1) JQuery version => jqdynamicform.js
2) Pure JavaScript version => dynamicform.js
* Minified files are also available
## Contributing
Any contribution, suggestion or comment is more than welcome.
## Author
* **Halil Can Ozcelik** - *Initial work* - [hcoz](https://github.com/hcoz)
## License
This project is licensed under the Apache License - see the [LICENSE](LICENSE) file for details