Create CodeIgniter / AJAX Forms Instantly

5

It gets very repetitive writing forms for clients – that’s why I decided to take the last hour to write this piece of fine code.

It takes whatever title you give a form object and creates a copy / paste dump for your view, controller and Javascript.  It doesn’t handle checkboxes or select boxes – but that is because I find the form is not the time killer; it’s the Javascript and validation.  The nice part is that most of the heavy lifting is done for you – plus you do not have to worry about spelling mistakes or silly syntax stuff because it is all duped in the script.

I’d like to pop this up on a subdomain after making it pretty – please comment if you think you will find this little app useful.

PS. During the recording I noticed a small error in the code – no need to comment, it is fixed now.  The json_encoded array was returning a value that would not display in the error fields due to a mismatch in the name.

UPDATE : Check Out the Application Here!

I have fully tested the generated code and it works great, here’s a video demonstrating how to use “FormTorch”.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • NewsVine
  • Reddit
  • StumbleUpon
  • YahooMyWeb
  • Google Bookmarks
  • Yahoo! Buzz
  • TwitThis
  • Live
  • LinkedIn
  • Pownce
  • MySpace

Comments

5 Responses to “Create CodeIgniter / AJAX Forms Instantly”
  1. Hey Greg, nice work! I know myself I will find this quite useful and it will save some time. You’ve got me thinking of writing my own internal generator now :)

    Cheers

  2. Craig says:

    Looks like a great way to reduce bugs as well. Nice work.

  3. Shawn says:

    Hey man good vid, wow that looks so easy i think I can even do it!

  4. Bryce says:

    Hi. Is there anyway to use codeigniter forms from an external source ie from iframe

  5. aster1sk says:

    Not quite sure what you mean. Are you trying to post via iframe or trying to embed the app into an iframe?

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!

Security Code: