Telegram_2020-04-30T16

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2020 > 04 > 30 >

Telegram_2020-04-30T16

Telegram link

 

2020-04-30T16:19:04

 

There is no simple way to accomplish that. Google and Firefox, basically the only 2 browsers remaining, don't want you to control what back button does. What IW does is implementing some tricks to make it difficult to go back to a previous page in a - in theory - single page web application. In a SPA when you hit the back button you actually leave the application because there is nothing \before\ it

 


 

Telegram link

 

2020-04-30T16:20:03

 

the \mbDisableCompat\ mode is the same behavior as used by IW 10, 11, 12

 


 

Telegram link

 

2020-04-30T16:21:51

 

bmEnable means \don't do anything\. Maybe that's what you are looking for?

 

bmInterceptGlobal will try to intercept it and avoid that the user can go back to previous url in history

 


 

Telegram link

 

2020-04-30T16:22:31

 

Yeah, I know it's a bear. But if you go \before\ the app, where there is nothing — so if I leave the settings at their defaults — shouldn't it just reload the current context?

 


 

Telegram link

 

2020-04-30T16:23:14

 

not the current context. It should try to reload the previous url in browser's history

 


 

Telegram link

 

2020-04-30T16:23:43

 

it is impossible to know what exactly was there. It varies from application to application

 


 

Telegram link

 

2020-04-30T16:23:54

 

so is the previous url whatever the user had in that tab before accessing your IW app?

 


 

Telegram link

 

2020-04-30T16:24:52

 

if you want o allow your uses to actually use the back button, you should be using content handlers mapping to different addresses for each form/action. This way the back button works just like in any site

 


 

Telegram link

 

2020-04-30T16:25:02

 

exactly

 


 

Telegram link

 

2020-04-30T16:25:17

 

No, I don't want the user to be able to use the back button

 


 

Telegram link

 

2020-04-30T16:25:31

 

I want them to \live\ inside the browser, period

 


 

Telegram link

 

2020-04-30T16:25:39

 

and the vast majority of my users have no problem with it

 


 

Telegram link

 

2020-04-30T16:26:10

 

But now I am faced with a situation where I have to release a big \app\ as an IW app while the Android app is being developed, where we will have no back button

 


 

Telegram link

 

2020-04-30T16:26:23

 

and it is for a general audience, including school children

 


 

Telegram link

 

2020-04-30T16:26:44

 

I can see if there is a way to intercept it and refresh current form, or something like that. Not sure it is doable in a reliable way

 


 

Telegram link

 

2020-04-30T16:26:45

 

and a certain percentage of them will use the back button, and WILL get confused, and not know to hit F5

 


 

Telegram link

 

2020-04-30T16:26:50

 

I see

 


 

Telegram link

 

2020-04-30T16:27:10

 

For us — losing 2% of our users to that would be tragic

 


 

Telegram link

 

2020-04-30T16:27:15

 

But perhaps unavoidable

 


 

Telegram link

 

2020-04-30T16:29:13

 

One option that I thought of — is to simply have the button to go to the next activity be visible from the start

 


 

Telegram link

 

2020-04-30T16:29:40

 

And if the user chooses to leave before the video is finished — go ahead

 


 

Telegram link

 

2020-04-30T16:29:58

 

the info in the video is necessary to do the next activities, so it's to the student's own disadvantage

 


 

Telegram link

 

2020-04-30T16:30:38

 

But's it's nice to see that button magically appear right when the video ends :)

 


 

Telegram link

 

2020-04-30T16:32:01

 

Just to have some context... you have several forms and move from one to another in sequence. You want the user to hit the back button and instead of going back to the previous form, you want to refresh the current form?

 


 

Telegram link

 

2020-04-30T16:35:58

 

yes

 


 

Telegram link

 

2020-04-30T16:36:33

 

The User selects a Course to take, and then clicks a button to Enroll, which immediately takes the student to the first activity

 


 

Telegram link

 

2020-04-30T16:37:21

 

(a new page with little more than a video in a responsive Bootstrap container)

 


 

Telegram link

 

2020-04-30T16:38:06

 

after the video plays, and a Bootstrap Row with a Column inside that contains a button shows — then our testers hit the back button

 


 

Telegram link

 

2020-04-30T16:38:37

 

When I had the BackButton options in the SC set to Global — the page disappeared and the main page showed up (because I released the Enroll page)

 


 

Telegram link

 

2020-04-30T16:39:04

 

But the curious thing about this \main page\ — all the menu items and buttons are disabled — the user cannot do anything — it's like a screenshot

 


 

Telegram link

 

2020-04-30T16:39:07

 

!!

 


 

Telegram link

 

2020-04-30T16:39:26

 

So that's when I put the setting back to its default

 


 

Telegram link

 

2020-04-30T16:40:08

 

at least it stays on the same page, albeit in a strange state where the Row-Col-Button that appeared at the end of the timer — is gone

 


 

Telegram link

 

2020-04-30T16:44:56

 

I've never seen this \effect\... do you think you are able to recreate it in a small, maybe 2 simple forms app?

 


 

Telegram link

 

2020-04-30T16:45:18

 

I could have you access it on the real site, if you wish

 


 

Telegram link

 

2020-04-30T16:45:32

 

And yes, I think I could recreate it

 


 

Telegram link

 

2020-04-30T16:45:49

 

Would it be useful for you to see it in action? Or do you just need the code?

 


 

Telegram link

 

2020-04-30T16:47:57

 

if you can recreate it in a simple app it would definitely help. So I could play with it and try to find a workaround

 


 

Telegram link

 

2020-04-30T16:48:15

 

roger that, I'll get back to you