This package can create, validate and process HTML forms composed programmatically.
It provides many classes that abstract most types of HTML elements that can be used in HTML forms by providing a fluent interface that allows defining many aspects of each element, including validation rules.
The main forms class can render the form automatically and return the composed form HTML as a string.
I can optionally generate JavaScript to validate the forms on the browser side before submitting the forms.
The class can also check if the form has been submitted and validate all fields at once. |