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 » ?
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 » ?
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
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
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 );
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 );
This topic is locked and no more replies can be posted.