GithubHelp home page GithubHelp logo

skightteam / dynamic_forms Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chrisjpowers/dynamic_forms

0.0 1.0 0.0 92 KB

Rails plugin to allow your users to build their own forms in your app.

License: MIT License

Ruby 68.69% HTML 31.31%

dynamic_forms's Introduction

DynamicForms

Created by Chris Powers, March 19, 2009

Thanks to Jacob Basham (github.com/jkster) for his additions and refactoring.

Make Your Own Forms

The DynamicForms plugin simply drops in the controllers, models, helpers and views you need to allow your users to create their own forms on your Web app. These forms act like regular Rails forms, using validation, error checking, the works.

Once you’ve installed the plugin and all the files have been copied into your app, feel free to customize as you see fit. Here’s a few suggestions:

  • You will probably want to add relationships between Forms, FormSubmissions and your user/account model, assuming you want users to has_many :forms and/or has_many :form_submissions

  • You will also probably want to add your login authentication to the FormsController and FormSubmissionsController

  • I tried not to presuppose much in terms of styling, CSS class names, etc., so you will need to significantly alter some of the views to integrate them into your app

For those of you who can make use of this plugin, I hope that this saves you a lot of time!

TODO

  • Better Documentation

  • Rspec and Cucumber Tests

  • Make Javascript Unobtrusive

  • Default Stylesheet

  • More Field Choices

Copyright © 2009 Chris Powers, released under the MIT license

dynamic_forms's People

Watchers

Hao Wang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.