click-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomasz bandura <tomasz.band...@gmail.com>
Subject Tabbed form , javascript validation error
Date Mon, 06 Dec 2010 08:31:15 GMT
Hi,


I've tried to use Tebbed form with javascript validation and it does
not work ( i'mean the validation works with reload page).

There is an error in javascript on page:
"document.getElementById(id + "-errorsDiv") is null
Line 377

Comparing with standard js validated form there is no the html
responsible for showing errors

<table class="form" id="form-form"><tbody>
<tr style="display:none" id="form-errorsTr"><td width='100%' align="left">
<div class="errors" id="form-errorsDiv"></div></td></tr>
</table>



After manually adding this part to the page, javascript validation
works correctly.


Best regards,
Tomasz

Mime
View raw message