views:

18

answers:

0

I need to be able to give an ID to my MVC form, so this is what I did:

<% using(Html.BeginForm(MVC.Account.ActionNames.LogOn, MVC.Account.Name, FormMethod.Post, new { id = "logonForm" } )) { %>

which somehow disabled client validation (jQuery / MicrosoftMVCValidation.) If I take out the FormMethod.Post and the id, then validation works. What should I do?

Thanks all.