Index: head/devel/pear-HTML_QuickForm2/Makefile =================================================================== --- head/devel/pear-HTML_QuickForm2/Makefile (revision 489877) +++ head/devel/pear-HTML_QuickForm2/Makefile (revision 489878) @@ -1,16 +1,18 @@ # Created by: Gerrit Beine () # $FreeBSD$ PORTNAME= HTML_QuickForm2 PORTVERSION= 2.0.2 CATEGORIES= devel www pear MAINTAINER= joneum@FreeBSD.org COMMENT= PHP5 rewrite of the HTML_QuickForm package +LICENSE= BSD2CLAUSE + BUILD_DEPENDS= ${PEARDIR}/HTML/Common2.php:devel/pear-HTML_Common2@${PHP_FLAVOR} RUN_DEPENDS= ${PEARDIR}/HTML/Common2.php:devel/pear-HTML_Common2@${PHP_FLAVOR} USES= pear .include Index: head/devel/pear-HTML_QuickForm2/pkg-descr =================================================================== --- head/devel/pear-HTML_QuickForm2/pkg-descr (revision 489877) +++ head/devel/pear-HTML_QuickForm2/pkg-descr (revision 489878) @@ -1,4 +1,22 @@ This package is expected to offer at least the same functionality as HTML_QuickForm and work with PHP5 E_STRICT setting. +Features: +* Supports all form elements defined by HTML standard, provides several +custom elements +* Server-side and client-side validation, several common rules provided +* Multipage forms (tabbed forms and wizards) +* Pluggable elements, rules, renderers and renderer plugins + +Major advantages over PHP4 version: +* Most of the package's functionality is covered by unit tests +* DOM-like API for building the form structure, new streamlined API for +elements' values handling +* Default rendering without tables (inspired by +HTML_QuickForm_Renderer_Tableless) +* Renderer plugins for elements with complex rendering needs +* Ability to chain validation rules with 'and' and 'or' +* Client-side validation can run "live" on changing the form fields, +validation errors are displayed near the fields instead of in alert() + WWW: https://pear.php.net/package/HTML_QuickForm2