views:

146

answers:

1

I've got a form that can optionally be pre-populated via facebook connect. Once a user connects, their name and email are automatically filled in. The problem is that this doesn't trigger the remote validation to check if the email already exists.

Is there a way I could call the validation on that field alone? Something like:

$('#email-field-only').validate()

would be idea. Searched through the docs with no luck.

+1  A: 

Remote validation? If this is already implemented, and it works through events in your form, you could try triggering these events. Like:

$('#email-field-only').change();

Which will trigger the onchange event, usually used by validators.

Francisco Soto