lindbird
Aug 26th, 2005, 12:57 PM
I am trying to display a web form with validation on submit, but am having a hard time displaying errors in a neat way. Currently, I am doing it the "spring" way:
<spring:bind path="myCommand.description">
<input type="text" name="${status.expression}" value="<c:out value="${status.value}"/>"/>
<span class="fieldError">${status.errorMessage}</span>
</spring:bind>
the problem occurs when I have multiple inputs on one line, when the validation errors come up, the fields get wrapped to the next line... ahhh
how has anyone dealt with this?
<spring:bind path="myCommand.description">
<input type="text" name="${status.expression}" value="<c:out value="${status.value}"/>"/>
<span class="fieldError">${status.errorMessage}</span>
</spring:bind>
the problem occurs when I have multiple inputs on one line, when the validation errors come up, the fields get wrapped to the next line... ahhh
how has anyone dealt with this?