• Resolved billmondei

    (@billmondei)


    I’m trying to edit a form that’s located on one of the pages that’s not a profile page.
    To do so, I’m using the following URL:
    <my_website>/form_page/?profiletab=main&um_action=edit
    However, the problem is – after saving the form, the user is being redirected to his profile page, because of the URL parameter after the “?”.

    1. What if I wanted to redirect the user to a different page immediately upon completion of this form?
    I’ve tried something like this:
    <my_website>/form_page/?<another_page>&um_action=edit

    It lets the user edit the form, but it doesn’t let him save it – nothing happens when clicking on the “Update Profile” button.

    2. Another related question is – how do I keep the person on the same page of the form (without redirecting to the profile page)?
    Ideally, I’d like to have something like this:
    <my_website>/form_page/?um_action=edit
    And that’s it – the person would edit the form on this non-profile page, save it and see the resulting completed form without being redirected anywhere. Is it possible?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mansurahamed

    (@mansurahamed)

    Hi @billmondei,

    Sorry , Your 2nd requirement not possible with UM at this moment. User must edit the profile form in the profile page. To redirect user after profile update add a custom redirection after the hook “um_update_profile_full_name”. Please see the function “um_user_edit_profile” located in plugin folder core->um-actions-profile.php for details.

    Thank you.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Closed due to inactivity.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to form a url to edit a form’ is closed to new replies.