build bootstrap based form by drag and drop
Features. The following are the user-stories for this project:
-
Add in multiple field types shown below a. Radio buttons b. Drop down combos c. Date pickers d. Email address e. Checkboxes f. Textboxes g. Phone number input - like HTML5 h. Custom submit buttons i. conditional fields and many more.
-
Allow Administrator to change the number of columns (minimum 1 and maximum 5).
-
Allow Administrator to upload a background image for the form/page.
-
Allow Administrator to create, update, delete multiple such forms. - Using MongoDB as persistent storage.
-
All fields should have its field type validations by default.
-
Allow Administrator to place an error messages element at the top or bottom where all the validation errors are shown. It an error message element is not present - the error should be shown besides the field.
-
Allow user (End user) to open the form and give feedback on the same. Admin can view responses.
Technology used: ruby, sinatra, mongo, bootstrap 3, jquery.
Steps to install. prerequirements - ruby, mongo server
Installation step:-
-
allow .rvmrc file to setup the system
-
setup config.yml with content of database
-
bundle exec thin -R config.ru start -p PORT
and access the product with server_path/port(http://localhost:4000 as for eg.)
Check demo on heroku -
http://guarded-thicket-8997.herokuapp.com/ admin credentials -
username - [email protected]
password - 12345
(Note:- admin have many more previledges)