Alright, thinking a little further on the idea of using
structures (to replace the need to remember that 
is for the field name and  is the description and
[...]), I've come up with an idea that John had once
mentionned to me. Make use of nested custom tag.
<CF_CheckForm_FORM name="..." method="..." ...>
<CF_CheckForm_INPUT name="..." .../>
When the page is processed and get to CF_CheckForm_FORM
it would check for a validation="yes" attribute. If it
validate this form. It would also initialize arrays
of structures for all the validation methods.
When it executes a form field type tag such as
CF_CheckForm_INPUT it would store the tag's attribute
into the appropriate array/structure.
When the end tag for the custom tag form is executed
it would output all the relevant information (arrays
Log in to post a comment.