Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Scott Mendez 6 posts 26 karma points
    Aug 27, 2014 @ 12:49
    Scott Mendez
    0

    Contour form - uncaught error issue

    Hi,

    So having a problem with the "submit" functionality within a contour form on a page that's been built.

    The issue appears to be that the submit button isn't picking up on the previously defined jQuery, the error is as follows:

    Uncaught TypeError: undefined is not a function jquery.validate.js:109
    

    The code is:

    valid: function() {
    
        var valid, validator;
    
        if ( $( this[ 0 ] ).is( "form" ) ) {
    
            valid = this.validate().form();
    

    I'm unsure as to whether this is also affecting the other nested messages to do with errors..

    Any ideas?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Aug 28, 2014 @ 13:05
    Jan Skovgaard
    0

    Hi Scott

    It's proably because jquery validate is defined before jquery? Try reading through this post - I think that is the key to a solution http://our.umbraco.org/forum/umbraco-pro/contour/39076-Missing-validation-scripts-when-form-inserted-as-Razor-in-RTE

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft