Form Generator Class

I wrote a basic class in PHP that will handle all the form processes.

This class can

1) Generate all types of elements of a form and assign default values to it. Almost all attributes of the elements can be set. (Hope I haven't missed any)

2) Validation function can be assigned to an element. Additional parameters can also be passed if required. I have written few common validations like checking to see if the element value is not empty, validating an email address etc.. Custom functions can be added if required.

3) After setting up all the elements you will be good to go. The class will handle all the process for you. The class will return the posted values if all validations were successful unless will return the custom errors.

Why don't you guys check on it and give me your feedback on it.

Click Here for more about easyFormProc v1.0

Share and Enjoy:
  • Twitter
  • Facebook
  • Digg
  • del.icio.us
  • FriendFeed
  • Google Bookmarks
  • Technorati
General

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Leave Comment

(required)

(required)


Spam protection by WP Captcha-Free