• Resolved yankees9920

    (@yankees9920)


    Good UI/UX calls for the forward actions (i.e. Register, Login, Update Profile) to be on the right side, and the cancel/backwards actions to be on the left. The current forms have these buttons reversed.

    Is there a way to swap the buttons?

    See what I’m referring to here – https://imgur.com/a/cxjetID

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @yankees9920

    Please have a look at these functions in the action hook so you can swap the buttons:

    add_action( 'um_after_login_fields', 'um_add_submit_button_to_login', 1000 );
    add_action( 'um_after_register_fields', 'um_add_submit_button_to_register', 1000 );
    add_action( 'um_after_profile_fields', 'um_add_submit_button_to_profile', 1000 );

    You can use the remove_action function to remove the original buttons and then attach your own function with the copy of the content from the original functions. In this way, you can modify the positions of the buttons.

    Regards,

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @yankees9920

    ..Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. ??

    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Submit button should be on the right (UI/UX)’ is closed to new replies.