Page 1 of 1

How to Disable backward move

Posted: May 12th, 2021, 12:37 am
by pradhanra01
Hi Gregory Martin,

I have a query regarding backward and forward move while collecting data in both windows and android. I need to set option that user should not go backward which is already collected/entered field/question in cspro. So could you please suggest me how can I disable moving backward ?

Regards,
Ramesh Pradhan

Re: How to Disable backward move

Posted: May 12th, 2021, 9:39 am
by aaronw
There is no easy way to do this. You could do this through logic by adding one of the following snippets of logic to each field. However, you'll need to add the logic to every field, otherwise the interviewer could use the case tree to navigate.
onfocus

// numerics
if visualvalue($) <> notappl then
    noinput
;
endif;

onfocus

// strings
if $ <> "" then
    noinput
;
endif;

Re: How to Disable backward move

Posted: May 14th, 2021, 12:30 am
by pradhanra01
Thank you so much I will apply this