[html-formfu] Problem with rendering Label type on invalid submission

Carl Franks fireartist at gmail.com
Thu Feb 3 23:20:14 GMT 2011


On 3 February 2011 04:51, Rippl, Steve <rippls at woodlandschools.org> wrote:
> Hi,
>
> I have some largish forms which include Multi elements like the
> following, composed of Labels and Radios.  If another element on the
> form has a constraint that fails, and the form is re-rendered with the
> appropriate error messages, then none of the Label types appear, I'm
> left with radios buttons (with their labels with a small l), but the
> Lables (big L) don't show up.

Hi Steve,

I'm afraid I haven't had a chance to try running any code for this,
but I suspect the problem is because the Label element doesn't have a
"name" defined.
Although the name isn't used anywhere in the output xhtml, the Label
element is still a Field element internally, and so must have a name.

Carl



More information about the HTML-FormFu mailing list