an
groups-icon

show custom registration successful message on registration page

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;
    }
    });
    });

    function isGmail( address ) {
    return address.indexOf(“@gmail.com”, this.length – 10) !== -1;
    }

    help me

    May 3, 2018 at 11:40 am
  • one 1
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    May 4, 2018 at 3:53 am
  • James D
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    May 4, 2018 at 5:15 am
  • one 1
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    May 4, 2018 at 9:59 am
  • James D
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    May 4, 2018 at 7:35 pm
  • JasonX Beard
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    May 4, 2018 at 8:59 pm

431

Views

5

Replies