You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "Tomasz Bandura (JIRA)" <ji...@apache.org> on 2010/12/06 10:36:12 UTC

[jira] Commented: (CLK-735) TabbedForm does not work with JavaScript validation

    [ https://issues.apache.org/jira/browse/CLK-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12967134#action_12967134 ] 

Tomasz Bandura commented on CLK-735:
------------------------------------

Hi,

Please also add 'onShowTab()' method for each error (e.g.  <a class="error" href="#" onclick="onShowTab(2);setFocus('form_city');"> You must enter a value for City </a>)
    	

regards

Tomasz

> TabbedForm does not work with JavaScript validation
> ---------------------------------------------------
>
>                 Key: CLK-735
>                 URL: https://issues.apache.org/jira/browse/CLK-735
>             Project: Click
>          Issue Type: Bug
>          Components: extras
>    Affects Versions: 2.3.0-M1
>            Reporter: Bob Schellink
>            Priority: Minor
>             Fix For: 2.3.0-RC1
>
>
> Reported by Tomasz Bandura on the mailing list:
> http://click.markmail.org/thread/5gimf2vn2y5yozzy
> The TabbedForm.htm should check if $form.isJavaScriptValidation is on and render the html markup:
> <tr style="display:none" id="$form.getId()-errorsTr">
>   <td width='100%' align="$form.getErrorsAlign()">
>     <div class="errors" id="$form.getId()-errorsDiv"></div>
>   </td>
> </tr>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.