[jQuery] (validate) Won't validate when input element inside jQuery UI Dialog

2009-06-26 Thread pbarnes
I am trying to use the Validator plug-in in combination with a jQuery UI dialog. I have one required input field. When this field is outside of the dialog all works as expected. As soon as I place it in the dialog, nothing validates (i.e., even with an empty field, $ ('#aspnetForm').validate().for

[jQuery] [validator] Want to use POST but how set remote.data property after validate() is called?

2009-04-09 Thread pbarnes
I am using the jQuery Validator plugin with ASMX Web services. I would like not to have to use HTTP GET (for security reasons). I can successfully use POST when directly using $.ajax, but when it comes to the Validator plugin, I'm having a difficult time setting the remote.data property in the rul

[jQuery] [validate] Possible bug (IE 7) when setting error messages after remote validation

2009-04-02 Thread pbarnes
Jörn, I'm using your jQuery Validation plugin for an ASP.NET site. Because ASP.NET dynamically generates unfriendly form element names (e.g., ctl00$ContentPlaceHolderBody$uxPhoneNumber) I have been replacing the "name" attribute when the page loads with something more friendly (e.g., phoneNumber)

[jQuery] [validate] How can I force element validation if the value is unchanged?

2009-03-31 Thread pbarnes
I need to use an ASMX service to validate a phone number. The Web method requires the phone number and the countryId. I have the validation working fine except for the case where the user enters a valid number for, say, the default country (United States) and then selects some other country, not

[jQuery] [validate] Using remote w/ data and ASMX doesn't seem to process the response

2009-03-30 Thread pbarnes
I'm trying to integrate the Validation plug-in with an ASP.NET site using ASMX services. The service is very simple: it takes in two strings and returns a boolean. I can see valid XML response in Firebug, but the plugin doesn't seem to process it properly. Both true and false return values result