• I am currently using the Ultimate Member plugin on my WordPress site and looking to implement AJAX for form submission to avoid reloading the entire page upon form submission. I would like to achieve a smoother user experience where only the form is refreshed after submission, without impacting the rest of the page.

    I would be grateful for any documentation, examples, or guidance you could provide to help me implement this feature effectively.

    Thank you for your support.

    Best regards,

Viewing 1 replies (of 1 total)
  • Plugin Author Mykyta Synelnikov

    (@nsinelnikov)

    Hi @chrissypeng

    The easiest way how to implement this functionality is to create 2 custom AJAX queries:

    1. Get User Profile content AJAX request (get full User Profile Form shortcode). You will replace current screen to content from response.

    2. Update User Profile form with all validations on both sides frontend and backend. I guess this one is more hard to implement because all Ultimate Member native handlers are build for sync form handling with redirect.

    Also you could check this docs Welcome to the Ultimate Member Documentation | ultimatemember
    Hook documentation and PHPDocumentor docs with structure description. I think it can be helpful.

    Our team works on new UI and we hear your opinion about async forms handling and taking it to account.

    Let me know if you have any questions,
    Best Regards!

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