Subject: | wish: build elements with multiple passes |
I envision a form validation system that builds a single profile profile
in two phases:
- The first phase would be automatic, such as querying a database table
and adding constraints based on "not null" and length constraints.
- The second phase would be manual, such as declaring that some field is
an e-mail field.
This module could help with if it had methods such as
"add_constraint()", which would allow you to add a constraint to a
field, possibly creating it as an element along the way.