Forums

no required field

vasbur 16 Apr, 2016
Sorry,
I did my contact form and I testid it behind. All required fields work. But on the front page of my site no required field in my form. Why there are not « required » ?
GreyHead 16 Apr, 2016
Hi vasbur,

The most common reason is that there is a JavaScript error on the page that prevents the validation from running. Please check the console in your web browser developer tools to see the error message.

Bob
vasbur2 16 Apr, 2016
Many thanks😀
vasbur 19 Apr, 2016
Sorry,
I identifed this error but I don’t know how it correct.
Erreur : TypeError: $.mobile._registerInternalEvents is not a function :

$.mobile._registerInternalEvents();

// check which scrollTop value should be used by scrolling to 1 immediately at domready
// then check what the scroll top is. Android will report 0... others 1
// note that this initial scroll won't hide the address bar. It's just for the check.
$(function() {
window.scrollTo( 0, 1 );

// if defaultHomeScroll hasn't been set yet, see if scrollTop is 1
// it should be 1 in most browsers, but android treats 1 as 0 (for hiding addr bar)
// so if it's 1, use 0 from now on
$.mobile.defaultHomeScroll = ( !$.support.scrollTop || $(window).scrollTop() === 1 ) ? 0 : 1;

//dom-ready inits
if( $.mobile.autoInitializePage ){
$.mobile.initializePage();
}

// window load event
// hide iOS browser chrome on load
$window.load( $.mobile.silentScroll );
});
})( jQuery, this );
GreyHead 19 Apr, 2016
Hi vasbur,

I don't think that those are ChronoForms errors, you will need to track down the cause and fix it or other JavaScript functions on the page may not work. If you post a link to the form I can take a quick look and see if I can spot any clues.

Bob
This topic is locked and no more replies can be posted.