Is there a standard way to create a "back button"? #11188
Replies: 2 comments
-
Hey @zedascouves, I'm assuming you are doing this because your users don't have a set path to get to the specific page you are on? (e.g. there a numbers way they can land on this page) If this is the case your method would be the best method in my opinion. The other option would be to create a feature request, which would add an app action that would take the users previous page in and use this to redirect them back to the previous page they were on. You can do this if you wish here; https://github.com/Budibase/budibase/issues/new/choose Side Notes If you have a set structure for your users e.g. they all will be coming from a specific route you could simply use the Additionally, if you are using a form and you are directing them down the chain, i'd recommend using steps and containing everything on the one page. The This is quite off topic, but there was a similar but different question asked within the community discord, you can read a bit on this here; https://discord.com/channels/733030666647765003/1126183236037529660/1126183236037529660 I hope this is helpful. |
Beta Was this translation helpful? Give feedback.
-
Hi @ConorWebb96, Thanks for clearing that up. You assume correctly about the navigation path. The In any case, I guess this thread may be relevant for anyone else looking for this kind on functionality. Cheers! |
Beta Was this translation helpful? Give feedback.
-
My app is to be mainly used on a tablet, so I want to create a standard back button. I've searched but I couldn't find anything specific, so I've created the following:
In the "embed" field:
I've copied the class attribute from another out-of-the-box button.
This works quite well, but I'd like to have an easier and standard way to do it. I did try with the "Navigate to" action and adding the "history.back()" function in the Javascript field, but as soon as I write it, the browser goes back a page! So it seems that the Javascript box is executing the code in real time.
Any other suggestion? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions