Self Registration AJAX submit from modal window
Posted: Thu Sep 20, 2018 12:11 pm
I've successfully installed and set up Self Registration 1.14 onto CMSMS 2.2.8.
I've got the Registration Template 1 in a modal popup and when the form is filled in the popup closes on submit. The Success or Error message is only visible when I open the Self Reg popup again.
Now I'm trying to write a 'jQuery AJAX submit' for the Registration Template 1 that will pass the $message and $error variables back to the modal window without a refresh and without the modal closing.
Is this even possible?
Any help would be greatly appreciated.
I'm not posting my attempts at AJAX as a 5 year old with a crayon could do better.
Cheers
Simon66
I've got the Registration Template 1 in a modal popup and when the form is filled in the popup closes on submit. The Success or Error message is only visible when I open the Self Reg popup again.
Now I'm trying to write a 'jQuery AJAX submit' for the Registration Template 1 that will pass the $message and $error variables back to the modal window without a refresh and without the modal closing.
Is this even possible?
Any help would be greatly appreciated.
I'm not posting my attempts at AJAX as a 5 year old with a crayon could do better.
Cheers
Simon66