click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Haim Schindler <haim.schind...@gmail.com>
Subject Missing validation error messages / markers in template form layout
Date Mon, 04 Apr 2011 21:39:01 GMT
Hi,
If I create a form and render in velocity as:

*$form*

I get validation error messages if the form is not valid.

However, when  I render the form as a template layout form  for example:

*${form.startTag()}
    <div style="margin: 1em;">
        <ol>

            <li>
                <label for="firstname">Firstname:</label>

                ${form.fields.firstname}
            </li>
        </ol>
    </div>

    ${form.fields.submit}
${form.endTag()}*

then I don't see any validation error messages / markers.

why ?

Mime
View raw message