[ServiceConfiguration(ServiceType = typeof(IViewModeExternalResources))]
public class FormsViewModeExternalResource : IViewModeExternalResources
public IEnumerable> Resources
var arrRes = new List>
Correct me if I'm wrong, but as what I can see, the file FormsValidators.js have been removed in 3.0.0 and "baked into" EPiServerForms.js? Then when I substitute the line above with the following:
I end up with a 404.
Should I be using a different approach here or what?
Thanks in advance
I can't remember such file FormsValidators.js. We don't have that.
I have provided fully working example (and production level) code at https://github.com/episerver/EPiServer.Forms.Samples
You can take a look at DateTimeValidator and RecapchaValidator
Hope this help.
How can we enable server side validation on for example textbox ? we get spam in forms, even when text field has client side email validation On.