Customize users frontend forms messages

5.51K viewsCore
0

Hello,

I would like to add Errors or Success messages to the page when users change their informations on their profile page (in addition of ap-notify system). I’ve tried to use this jQuery hook ‘ap_after_ajax’, but it do nothing :

$(document).on('ap_after_ajax', function(e, data) {
  // It do nothing
  console.log('ap_after_ajax');
});

How can I customize my errors or success messages for user sections forms ?

Thank you!

0

Yes, I know for the data object. This is a bad example. The problem is I didnt find how to call a function after the Ajax is finish. The hook ap_after_ajax is never called ?

You are viewing 1 out of 2 answers, click here to view all answers.