Back button - Level above or Previous page

Asked

Viewed 467 times

2

Good morning, I know the question seems strange and kind of obvious, but I’ve been having this question for a while...

Let’s say it has the following structure:

Home
Clientes
---Lista
------Editar
---Cadastro

If the comrade is in "Edit", when clicking on my "back" button, by default he goes to "List"... But if it has entered the "Edit" page directly through the URL for example? Will "Location back" not work right? I must then set my "Back" button already with the link from the top level (List)?

What would be the right way?

2 answers

2


My opinion: If you have this back button on your page, it will really be up to you. The browser back button will already do the back function, which I do not prevent you from having the same function on your page, for the sake of design or navigation. But in your case you can yes make the user "return" to the desired page.

Stress this can create a logic problem in some other cases, for example:

  • Suppose page A is forwarded to page C.
  • A B page has been created which will also be forwarded to C page.
  • On the back button of screen C, you would have to direct to page A or page B according to where the user came from.

But if he accesses page C directly through the URL, what to do?

You see, then we have to think carefully, you can leave two links to two pages, or leave to a previous page both, in a hierarchical logic like that of your question. This will be malleable according to the general structure of your site, and as already said will be at your discretion.

  • Show, I get it. I’ll look at this question of logic here, because I think setting the page directly will be better. I made a test here and if the user updates the information of a customer and clicks on the Back button he ends up returning to the same editing screen that was and this will already generate a discomfort and crying rs.

0

Think about the concept of "back," which is related to a history.

If the page was accessed directly, the previous page would be the "correct" behavior, but nothing prevents you from forcing your application to return to the level above, regardless of where the user came from.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.