click-user mailing list archives

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

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>

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

Best regards,

View raw message