We have recently started to develop a web application, based on the sample-crm solution.
We have however noticed that using the back-button of the browser does not give the expected result to the user: user expects to go to the previous page (program), but the login form is shown instead.
Is there anyone that also ran into this problem and how did you fix this or work around it?
Is it possible to change the behaviour of the back button of the browser? or give a warning to the user when he presses this button?
Since the webclient uses AJAX it only updates certain parts of a page. So it never really loads a new page so your browser won’t track it. Hence the behavior you see with the backbutton.
I thought that was what happened.
But i’m afraid it can be seen as anoying by a user, they are not technical and will probably not understand why it works differently than in a normal website.
Is there anyway to give the user a warning when he presses the back button or can i start the solution with the browser in full-screen mode (F11) ?
Or any other bright idea’s about this?
Or is this just something that we will have to live with and try to educate our users not to use the back button?
We specifically tell our webclient users to never use their browser Back button. However, there is one exception. If they click a link to view a PDF form, then they must click the browser Back button (there is no other option).
Many online banking web sites work the same way, so our users are not surprised once they have been told.
You could use open the Web Client in a new window and hide the back button (and url). Or you could write some client side javascript to handle it and call back to your servoy app.
We’ll be making some videos on ServoyU soon, showing how to do these types of web client tricks.
If you dont program your solution so that it has 1 main form where you constantly switching tabs inside of it.
But you program it so that when ever a user clicks on something that he really sees as a “back button event” and you set a new main form at that moment
The back button will work. (it will go to the previous main form)
But most solutions (like the sample crm) have 1 main form and are constantly switching tabs. Then back button has no function what so ever.
Opening stuff in new windows and hiding the controls can be a bit tricky if you then depend on that to happen. For example it will not work at my laptop, i don’t allow that, i only allow tabs.