On Thu, Mar 10, 2011 at 2:33 PM, Chanaka Jayasena <[email protected]> wrote:

> Hi all,
>
> Carbon UI Core has a client side html form validation framework build in to
> it. IMHO with this framework, all the client side error handling can be
> unified, and usability aspect of the forms can be improved. This framework
> supports basic form validation such as "required field", "valid email"
> etc.It can also use for customized validations. The Proxy Service template's
> validation is implemented using this framework.
>
> Ex:
>
> <script>
>      *jQuery(document).ready(function() {*
> *        jQuery("#myForm").validate();*
> *    });*
> </script>
>

Can't this be a utility function on something like the admin.js? and we call
that onSubmit or fromLoad?

Thanks,
Senaka.


> <form id="myForm" method="POST" action="foo.jsp">
>      <input type="text" class="*required*" />
>      <input type="submit" class="submit button" value="Save" />
> </form>
>
> More examples and API documentation:
> http://docs.jquery.com/Plugins/Validation
>
> Remember to replace $ with jQuery in these examples.
>
> thanks,
> Chanaka
>
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate Technical Lead; WSO2, Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://www.linkedin.com/in/senakafernando

*Lean . Enterprise . Middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to