BuddyDev

Search

[Resolved] Buddypress confirm action on registration exit

  • Participant
    Level: Guru
    Posts: 885
    Tosin on #44627

    Hello Brajesh,

    Can you add a feature to confirm action when a user is leaving the buddypress registration page in three scenarios.
    1. when user tries to refresh registration page trigger confirm action
    2. When user tries to click on a menu navigation trigger confirm action
    3. When user tries to close browser trigger confirm action

    confirm action message = Are you sure you want to cancel registration

    This feature will help improve and retain user sign ups

    Thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #44760

    Hi Tosin,
    Thank you for the suggestions.

    I can provide you the javascript code that does following:-

    1. If a user has made any change to the registration form and then they try to navigate away or reload page, It should confirm. Does that sound good? I don’t think showing in any other cases makes sense(if the user has not modified registration page and you still stop/confirms them, It is irritating).

    Please let me know which template pack are you using and I will supply the code.

    Regards
    Brajesh

  • Participant
    Level: Guru
    Posts: 885
    Tosin on #44772

    Yes im okay with your suggestion and im using legacy template.

    I was wondering instead of a new code you could integrate this into the confirm actions plugin. if not possible then your code is okay

    Thanks Brajesh

  • Participant
    Level: Guru
    Posts: 885
    Tosin on #44789

    Kind reminder

  • Participant
    Level: Guru
    Posts: 885
    Tosin on #44823

    Gentle reminder sir

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #44960

    Hi Tosin,
    I am sorry, I could not get back to you.
    I had a look again at buddypress.js and it seems BuddyPress already has this functionality.

    I have checked it with legacy template pack. There is no need for any extra code.
    https://i.ibb.co/5jMJvQ4/Selection-504.png

    Regards
    Brajesh

  • Participant
    Level: Guru
    Posts: 885
    Tosin on #44970

    Ohh! cool

    thanks Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #44974

    🙂

The topic ‘ [Resolved] Buddypress confirm action on registration exit’ is closed to new replies.

This topic is: resolved