Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
Version 9
one 1
0 points
Beginner
I want show custom registration susscessful message on registration page after registration successful.
how to implement javascript code similar like below to display custom registration successful message.
jQuery(document).ready(function($) {
$(‘#registerform’).find(‘:submit’).click(function(e) {
if( ! isGmail( $(‘#user_email’).val() ) ) {
e.preventDefault(); // Prevent the form from submitting
alert(‘You can only register with an @gmail.com email address!’);
return false;
}
});
});
I want show custom registration susscessful message on registration page after registration successful.
how to implement javascript code similar like below to display custom registration successful message.
jQuery(document).ready(function($) {
$(‘#registerform’).find(‘:submit’).click(function(e) {
if( ! isGmail( $(‘#user_email’).val() ) ) {
e.preventDefault(); // Prevent the form from submitting
alert(‘You can only register with an @gmail.com email address!’);
return false;
}
});
});
function isGmail( address ) {
return address.indexOf(“@gmail.com”, this.length – 10) !== -1;
}
help me
Members Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login Now