Skip to content

Simple methods for inserting forms into text based on a simple [form][/form] syntax, in JavaScript

License

Notifications You must be signed in to change notification settings

jywarren/short-code-forms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Short Code Forms

A form generator following conventions in WordPress short codes

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

About

Simple methods for inserting forms into text based on a simple [form][/form] syntax, in JavaScript

Resources

License

Stars

Watchers

Forks

Packages

No packages published