Form Id in ValidatedForm

Topics: Developer Forum
May 11, 2008 at 4:43 AM
Side note : I have been doing too much design through email correspondence. The result is design decisions that do no adequately include people who are using this project. So this will be the first of more correspondence through the discussion forum.

Dane has created a "ValidatedForm" class to help with generating JQuery validation script. It currently takes a "htmlFormId" as a param on the constructor as forms are required to have a unique ID for JQuery. Since this is only required for JQuery and not for ASP.MVC perhaps we could generate the id using a GUID? And perhaps have an overload that still supports a user defined ID?

I have modified the code to reflect this.