Errors with several forms
Status: Beta
Brought to you by:
jmiguelsamper
As error divs are bound to form field names, there are problems when you have two forms in a page if there are some repeated form filed names.
For example, in the following code errors for second form are shown in the first form:
<form name="form1">
<input type="text" name="user" />
<yav:rule value="user|required" />
</form>
<form name="form2">
<input type="text" name="user" />
<yav:rule value="user|required" />
</form>