SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast laresistance2's Avatar
    Join Date
    May 2011
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Looking a PHP library for creating and validating forms

    I work with my own homemade framework and I want a library (classes) PHP 5 for generating form with validation and if possible with support ajax support HTML5.

    I already did a search and found PFBC (PHP Form Builder Class) and HTML_QuickForm but it is obsolete.

    Do you know of others?

    I await your opinion.

    Thank you

  2. #2
    SitePoint Guru
    Join Date
    Nov 2003
    Location
    Huntsville AL
    Posts
    689
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Both Symfony2 and Zend have decent form libraries.

  3. #3
    SitePoint Enthusiast laresistance2's Avatar
    Join Date
    May 2011
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ahundiak View Post
    Both Symfony2 and Zend have decent form libraries.

    Thank you, I tried to use both component (Zend and Symfony) but now it looks like he no longer standar
    lone because it requires a lot of additional libraries and classes of Framework for to work.
    Unless you have a way to tell me how I can for example use the component form and validation without using the Symfony framework.

  4. #4
    SitePoint Guru
    Join Date
    Nov 2003
    Location
    Huntsville AL
    Posts
    689
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Can't give you a cookbook on using Symfony2 forms independently. You can keep an eye on the S2 forums. Couple of people seem to be working on it. Rendering the actual html output is done within the framework. That might be the most difficult part to figure out. Of course you can always consider wrapping your framework inside of Symfony2. I did that to my own framework.

    PEAR Forms is not really obsolete. Might give it another look.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •