validation plugin

validation plugin

Hi there!

I am trying to change our forms to the jquery validation plugin. But I don't get it run and I don't know why.

Is it because of using jquery mobile?
This code don't work for me. The field versicherungsbeginn receive no error-label and no error-class.

  1. $(document).ready(function () {
        $("#ABSCHLUSS").validate({
            rules: {
                versicherungsbeginn: {
                    required: true,
                    minlength: 10
                }
            },
            messages: {
                versicherungsbeginn: {
                    required: "Pflichtfeld!"
                }
            },
        });
    }

I created a fiddle for testing:  http://jsfiddle.net/rv3nkfke/4/

Thanks!

Felix