Custom Fields
Re-Envisioned
Support MB User Profile Confirmation message in another div

  • Creator
    Topic
  • #20490
    Resolved netalys
    Participant

    Hello ! Is it possible to display the confirmation message in another div ?
    So when the user save the info, the message is not displayed above the form but elsewhere in the page.

    Thanks !

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #20497
    Long Nguyen
    Moderator

    Hi,

    You can use the JavaScript code below to move the confirmation message to another div/class.

    jQuery(document).ready(function($) {            
        var userProfileConfirm = $('.rwmb-confirmation');
        if (userProfileConfirm.length > 0) {
            userProfileConfirm.remove();
            $('footer').append(userProfileConfirm);
        }
    });

    See my screenshot https://share.getcloudapp.com/p9uPkoxD.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.