Page 1 of 1

Controlling the navigation buttons

Posted: April 18th, 2018, 9:48 pm
by AriSilva
I would like to know if it is possible to trap the touching of the left arrow button, using something like "onkey".
The reason for that is for the program to take control when the user hits the left arrow, since its behavior is a little bit tricky on my application. The return to previous questions passes thru some questions that the user´s should not see, and we would like to be able to control that.
Best
Ari

Re: Controlling the navigation buttons

Posted: April 19th, 2018, 7:05 am
by Gregory Martin
Can you just set those fields to protected? If so, even when the user moves backwards, they'll never see them.

Re: Controlling the navigation buttons

Posted: April 20th, 2018, 10:42 am
by AriSilva
Good suggestion, I´ll do that.
In any case, is there a way to know that the user clicked the left arrow?

Re: Controlling the navigation buttons

Posted: April 23rd, 2018, 7:25 am
by Gregory Martin
You could hack together a solution where you could sort of tell if the user clicked on the previous button, but you would have to control for all of these scenarios (like entry on rosters) that would make the solution a limited one. It also wouldn't work properly when using the case tree to move.

Making the fields protected is your best option.