Projects / HTML Forms generation and validation

HTML Forms generation and validation

HTML Forms generation and validation is a PHP class that generates HTML forms supporting many built-in validation types on server and client sides. It prevents security attacks by discarding spoofed values, has multiple submit protection, outputs HTML for fields displayed as fully accessible or in read-only mode, and has field value filtering and reformatting. It can be extended with custom control plug-ins. AJAX based form submission, upload monitor progress bar, auto-complete text input, automatic layout renderer, calendar date, CAPTCHA, Google Maps world location selection, linked select, and animation effects plug-ins are available.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  27 Mar 2014 11:39

    Release Notes: This release fixes the encoding of non-ASCII characters in PHP 5.4 or later. It also adds support to output list select inputs as hidden. It fixes the CRUD plugin when creating, updating, and deleting entries. The scaffolding plugin avoids displaying messages depending on the read option being enabled, fixes the position of checkboxes and radio buttons, and avoids displaying error messages for invalid fields without an error message.

    •  09 Jan 2013 10:34

      Release Notes: This release adds a new plugin to simplify the implementation of CRUD interfaces using data source objects, a new CAPTCHA plugin which uses ReCaptcha, improvements to several plugins like the paged layout, vertical layout, and scaffolding, and fixes for many small bugs.

      •  07 Feb 2011 08:12

        Release Notes: This release provides a new set of plug-in files to integrate with the Smarty 3 PHP template engine.

        •  11 Nov 2010 09:23

          Release Notes: This update release includes several improvements like support for changing the HTML or text of input button labels, the ability to remain on the current listing page after updating or deleting an entry of a scaffolding plug-in listing, the ability to preset the validation text of a CAPTCHA input, and support for changing the current page of the paged layout plugins. ereg functions are now avoided to prevent deprecated warnings.

          •  12 May 2010 07:30

            Release Notes: This release implements several improvements to the list select, HTML editor, and scaffolding input plug-ins. The map location plug-in example template was updated. The main forms class had a bug fixed to avoid processing forged checkbox values in requests.

            Recent comments

            09 Aug 2006 21:47 mlemos

            Re: Project hosting


            > This begs the question: why do you keep

            > advertising your stuff on the

            > oh-so-unknown and inferior freshmeat

            > site then?

            Please don't put words in my mouth. I never said or meant that Freshmeat is an inferior site. I was not comparing it to anything else. What I meant is that nobody knows all sites, not even a great part of those that exist. So, it is only natural that PHP classes site users and authors do not know Freshmeat.

            Furthermore, the purpose and scope of the sites is different. In the PHPClasses site you can browse and download the PHP packages published their. In Freshmeat you see only announcements about packages that are not available here, but include other languages besides PHP, as well PHP packages published in other sites.

            Announcing packages in Freshmeat can always help authors letting others know their work, regardless whether they published in the PHPClasses site or not.

            > % [...] Any reasonable human being can

            > understand this.

            >

            > While some human beings never seem to

            > comprehend whose unreasonable

            > stubbornness actually triggered the

            > 200th(?) flamefest on this topic.

            While people are able to stay reasonable and put pertinent questions without intention to cause tumult and without departing to personal insult, I can try to be patient and explain why certain things are not the way those people think it should be. If your intention is just to throw more flames just because you do not agree with the way the site operates, sorry I cannot justify any further time to follow-up.

            09 Aug 2006 17:05 pilo

            Re: Project hosting


            > Nonsense, most PHP users and authors do not even know Freshmeat.

            This begs the question: why do you keep advertising your stuff on the oh-so-unknown and inferior freshmeat site then?

            > [...] Any reasonable human being can understand this.

            While some human beings never seem to comprehend whose unreasonable stubbornness actually triggered the 200th(?) flamefest on this topic.

            20 Jul 2006 20:53 mlemos

            Re: Project hosting


            > % I am

            > % sure if you would develop Open Source

            > % projects, you would appreciate the

            > % service provided by the site.

            >

            > I am developing open source projects,

            > and I certainly wouldn't

            > consider hosting them on this site, for

            > the following reasons:

            Whether or not you submit any projects of yours to the site, it is only your decision. If you choose to exclude yourself from benefiting of the exposure that the site provides to authors, it is solely your problem. Nobody will be upset.

            > 1. It is almost impossible to navigate

            > the site. Almost every link either pops

            > up some ad, or redirects to a full-page

            > ad that redirects to the target page

            > after some timeout. This is not the kind

            > of site where I would like to dwell for

            > some time, looking around for goodies -

            > rather it is exactly the type of site

            > that I wish to visit for the shortest

            > amount of time possible, and wish to

            > leave as soon as possible. Let alone

            > that the ads are not even on topic.

            >

            > I fully admit that there is a need for

            > generating revenue by ads - google does

            > it, freshmeat does it, almost everyone

            > else does it, too - but there are

            > obnoxious ways of advertising, and

            > friendly/bearable ones. phpclasses.org

            > is one of the worst I've ever come to

            > see. An important part of good

            > advertisement is the art of attracting

            > users, instead of alienating them.

            %

            Trust me, the site puts advertising recommended by ad agencies like Google AdSense, Fastclick, Tribafusion, etc.. It puts all the ads that you see because it needs the revenue to survive. It is certainly not to annoy the users, although it is impossible to not annoy some.

            It is like free television channels. They are free, but you need to put up with whatever advertising they present. You can subscribe to cable television to get less advertising, but you still will get some channels with advertising.

            As I mentioned, the site will provide ad-free paid options similar to buying a cable television subscription. Users that do not like advertising will have that option. That is a good alternative to keep the site viable.

            It is pointless to complain that the advertising is not on-topic or you do not like the way it is presented. I do not have the privilege to discard most the advertising because the site would not survive without it.

            If you have difficulty to understand this, maybe when you have a site like this to maintain, you will be able to realize the things as they are, not the way you wished.

            >

            > 2. You say that one can opt out of the

            > 'newsletters'. Then why does the site

            > try to prevent signing up with a

            > spamgourmet mail address? If I can opt

            > out anyway, the site shouldn't care. The

            > only possible reason for caring is the

            > desire to collect valid email addresses

            > (for spam?).

            It is nothing like that. Accepting subscriptions of users with disposable addresses causes several problems.

            Unfortunately it is too easy to create new accounts with disposable addresses. That helps cheating authors to create new accounts to overrate their packages and gain elicit exposure. In some cases they could gain undeserved prizes like in the PHP Programming Innovation Award. This is totally unfair to authors that really deserve to win.

            Another problem is that most disposable address systems accept the newsletter messages forever, even though no user will receive and benefit from them. This makes the site waste bandwidth for nothing.

            The site is on budget with hosting costs. To not raise prices the hosting company has put a bandwidth cap. This means that the transfer rate is limited.

            When the site is serving too many pages or too many newsletters at the same time, connections are put on hold and the Web site users will suffer from site slow down.

            Therefore, the site had to put on an effort to limit the bandwidth used by sending the newsletters. Not accepting subscriptions of users with disposable addresses was one of the measures.

            >

            > 3.

            > If I want to be informed about updates

            > to some software, I can always subscribe

            > to it on freshmeat. This is much nicer

            > (because I can opt-in, rather than

            > having to opt-out of something I didn't

            > ever want in the first place).

            >

            Nonsense, most PHP users and authors do not even know Freshmeat.

            %

            > 4.

            > As a developer, I don't want to freshmeat

            my users to a flood of junk ads, and I

            > also don't want to force emails down

            > their throat. I'd rather prefer if they

            > have a pleasurable overall experience.

            %

            As I said above, that is totally your problem. The PHPClasses site provides a tremendous exposure to the authors work. The site has over 370,000 subscribers and is growing at a rate of about 10,000 new subscribers a month. Of these near 150,000 receive new class alerts newsletters at least once a week.

            There are also the valuable prizes to the winning authors of the innovation award can gain.

            If you do not care about the benefits provided by the site, that is ok. As I also mentioned it is impossible to please everybody. The site is focused in pleasing those that care, while keeping itself financially viable. Any reasonable human being can understand this.

            20 Jul 2006 08:49 rainer

            Re: Project hosting

            > As the author of these classes, I can
            > tell you that the service provided by
            > the site is wonderful.

            (snip)

            > I am
            > sure if you would develop Open Source
            > projects, you would appreciate the
            > service provided by the site.

            I am developing open source projects, and I certainly wouldn't
            consider hosting them on this site, for the following reasons:


            1. It is almost impossible to navigate the site. Almost every link either pops up some ad, or redirects to a full-page ad that redirects to the target page after some timeout. This is not the kind of site where I would like to dwell for some time, looking around for goodies - rather it is exactly the type of site that I wish to visit for the shortest amount of time possible, and wish to leave as soon as possible. Let alone that the ads are not even on topic.


            I fully admit that there is a need for generating revenue by ads - google does it, freshmeat does it, almost everyone else does it, too - but there are obnoxious ways of advertising, and friendly/bearable ones. phpclasses.org is one of the worst I've ever come to see. An important part of good advertisement is the art of attracting users, instead of alienating them.


            2. You say that one can opt out of the 'newsletters'. Then why does the site try to prevent signing up with a spamgourmet (http://spamgourmet.com) mail address? If I can opt out anyway, the site shouldn't care. The only possible reason for caring is the desire to collect valid email addresses (for spam?).


            3.
            If I want to be informed about updates to some software, I can always subscribe to it on freshmeat. This is much nicer (because I can opt-in, rather than having to opt-out of something I didn't ever want in the first place).


            4.
            As a developer, I don't want to expose my users to a flood of junk ads, and I also don't want to force emails down their throat. I'd rather prefer if they have a pleasurable overall experience.

            19 Jul 2006 13:31 mlemos

            Re: Project hosting
            I am afraid there are several misunderstandings here.

            As the author of these classes, I can tell you that the service provided by the site is wonderful. It keeps track of all users that download my classes. When I release an update, an automatic newsletter is sent to my class users to let them know about the changes, so they can be kept up to data and always use the latest version with the newest improvements and bug fixes.

            If you do not want to receive the site newsletters, that is OK. You can choose which newsletters you want to receive or not in the user options page, or by sending an unsubscribe request to an address mentioned at the bottom of each message.

            Furthermore, when I release new classes, the site sends a newsletter telling all users about it.

            This is great because it provides extraordinary exposure to the work of any developers that shares his PHP work in the site.

            I don't know many other sites that help Open Source developers keeping so many of their users so closely up to date.

            I don't know either if you develop and share your work as Open Source. I am sure if you would develop Open Source projects, you would appreciate the service provided by the site.

            Now, as developer of the site, I must tell you that if you do not like advertising, I do not like it better.

            Unfortunately it is a necessary burden to expose the users to the site advertising. If it were not for that, the site would have been closed a long time ago, like with all those .com sites that died because their owners missed the fact that it is necessary to generate enough revenue to pay for the site hosting, bandwidth and all the people involved in keeping a busy like this up and running.

            Fortunately, soon there will be an alternative to all those that do not want to put up with the advertising. There is a package of premium services being developed to be offered exclusively to subscribers that want to adhere for a small monthly fee (say USD $5 or so).

            Among other interesting new services (http://www.phpclasses.org/blog/post/47-Planned-PHP-Classes-paid-services-and-Content-site-revenue-tips.html) have been announced in the site blog, premium subscribers will be able access the site without any advertising, have a better site search, improved AJAX based user interface, etc..

            These services have been developed very slowly because the current site revenue is not enough to pay for additional staff.

            Meanwhile there are already a few beta testers evaluating the new services. If you are interested, you may submit a request to become a beta tester, as it has been announce here (http://www.phpclasses.org/blog/post/51-PHPClasses-20-Beta-AJAX-XMLHttpRequest-x-IFrame.html).

            It is impossible to please everybody, but at least I try to please the users that really care about the site and want to benefit from thousands of classes shared by hundreds of developers.

            I hope you understand.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.