Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jywarren/short-code-forms
Simple methods for inserting forms into text based on a simple [form][/form] syntax, in JavaScript
https://github.com/jywarren/short-code-forms
Last synced: about 2 months ago
JSON representation
Simple methods for inserting forms into text based on a simple [form][/form] syntax, in JavaScript
- Host: GitHub
- URL: https://github.com/jywarren/short-code-forms
- Owner: jywarren
- License: gpl-3.0
- Created: 2017-01-23T03:38:08.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-29T18:15:15.000Z (almost 8 years ago)
- Last Synced: 2024-04-26T10:20:41.838Z (9 months ago)
- Homepage: https://jywarren.github.io/short-code-forms/examples/
- Size: 27.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Short Code Forms
A form generator following conventions in [WordPress short codes](https://github.com/MWDelaney/bootstrap-3-shortcodes)
## Goals
* for each match:
* make it return the original markup
* make it return before/after change
* make a submit() method to send it somewhere
* make an "onComplete" feedback - green/red checkmark/x## Currently
* short-code-prompts.js is working; takes a single input or textarea
* short-code-forms.js is not yet -- need to decide how it converts each type of input (textarea, input, select, etc) into Markdown or HTML