Skip to content

MEVJ/Bootstrap-Form-Builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Bootstrap Form Builder

Currently using Bootstrap v. 3.3.5

##What's this?

A Drag-and-drop form builder for twitter bootstrap.

##Thanks Thanks to the original repository by minikomi,I modified it to support bootstrap 3. The original one with bootstrap 2 is hosted in github pages here.

###Notes

  • For development & debugging change the data-main for the require script tag in index.html to point at assets/js/main.js. (Look just before the closing <body> tag!)

  • Once done, change it back to build for production using the build.js script in the assets/js/lib folder and r.js. Then revert to assets/js/main-built.js

  • The full command is r.js -o assets/js/lib/build.js which should be run from the base directory.

Adding new form elements

  • In the js/data/ folder are yaml files, each of which corresponds to a tab in the form builder.
  • If you just want to add a new element you need to:
  • If you want to add a new tab, you'll also need to adjust the app.js file to make sure the tab is loaded.

Don't forget to switch to main.js rather than main-built.js, or the changes you make before compiling with require.js won't show up!

About

Bootstrap Form Builder...with Bootstrap 3 support...actual repository based on

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published