Javascript error

Sep 3, 2012 at 9:27 AM

Hi.

Trying to use this in my environment (MVC 4, jQuery 1.7.2) like so:

 

[RequiredIfTrue("StartDateRequired"]
public virtual DateTime? StartDate { get; set; }

public bool StartDateRequired { get; set; }

and I'm getting this error message in the FireBug console when posting the form:
TypeError: a[0] is undefined

What could be wrong?

 

Sep 3, 2012 at 10:38 AM

Never mind, included wrong javascript file.