How to Disable backward move

Discussions about CSEntry
Post Reply
pradhanra01
Posts: 38
Joined: August 27th, 2017, 2:43 am

How to Disable backward move

Post 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
aaronw
Posts: 564
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: How to Disable backward move

Post 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;
pradhanra01
Posts: 38
Joined: August 27th, 2017, 2:43 am

Re: How to Disable backward move

Post by pradhanra01 »

Thank you so much I will apply this
Post Reply