Hi Jörn.

I just do not know how to provide test because it is in big form that
is available only for registered users.

Here is the code (other rules are configured directly as attributes in
form's HTML) :

        $("#incorporationForm").validate({
                debug: true,
                errorElement: "div",
                errorClass: "invalidComment",
                rules: {
                        companyname: {
                                remote: {
                                        url: "company_name_available",
                                        type: "post",
                                        data: {
                              name: function() {
                                return 
companyNameWithoutLtd($("input#companyname").val());
                              },
                              json: "1"
                                }
                                }
                        }
                }
        });


Thanks,
Anton


On Apr 17, 12:20 am, Jörn Zaefferer <[email protected]>
wrote:
> Could you provide a testpage, at least some code to look at?
>
> In any case, the remote method is documented 
> here:http://docs.jquery.com/Plugins/Validation/Methods/remote#url
>
> Jörn
>
> On Thu, Apr 16, 2009 at 11:01 PM, Meglio <[email protected]> wrote:
>
> > Just trying to use "remote" rule in my form, and getting this error.
>
> > Was debugging 4 hours and can't find solution.
> > Any thoughts?
>
> > Thanks,
> > Anton
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to