Dear CSPro Team;
I need guidance on skip statement within Block in 7.2.
Example:
I have 5 variables:
1. What is the Age;
2. What is the marital status (for 15 years and above)
3. What is the employment status (for 10 years and above)
3.1. Others, Specify(In case of others in employment status)
4. Is [Name] facing any chronic diseases (for all ages)
The scenario is:
All five questions are under-one block and if age is less than 15 years then skip marital status question;
If age is less than 10 years then skip marital and employment status;
If age is greater than and equal to 10 years and others is not selected in employment status then skip to chronic diseases;
Best.
a.
movement statements (advance, ask, move, reenter, skip)
-
- Posts: 572
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: movement statements (advance, ask, move, reenter, skip)
Your question has more to do with block then with movement statements.
First, note that the behavior between blocks on Windows and Android does differ. The following example is specific to Android. In this example, we have a block with two fields. Notice the timing in which these procs run relative to when the interviewer enters data.
If we look at your example you'd need a skip or "ask if" for fields 2 and 3. Also, depending on the response to 3 you'd need to either enter or skip 3.1. It's not possible to handle this at the block level, so you won't be able to use a block.
First, note that the behavior between blocks on Windows and Android does differ. The following example is specific to Android. In this example, we have a block with two fields. Notice the timing in which these procs run relative to when the interviewer enters data.
- BLOCK - preproc
- BLOCK - onfocus
- FIELD_1 - preproc
- FIELD_1 - onfocus
- Interviewer enters data for fields 1 & 2 + select next
- FIELD_1 - postproc
- FIELD_2 - preproc
- FIELD_2 - onfocus
- FIELD_2 - postproc
- BLOCK - postproc
If we look at your example you'd need a skip or "ask if" for fields 2 and 3. Also, depending on the response to 3 you'd need to either enter or skip 3.1. It's not possible to handle this at the block level, so you won't be able to use a block.
Re: movement statements (advance, ask, move, reenter, skip)
Hi Arshad,
Early with 7.2 beta release, i was discussing with the developer team about. Hopefully, they informed we that we'll be able to have
1.- Normal Logic execution within block;
2.- Reenter focus within block.
in the future.
So, you'll be able to you logic inside block.
The CSPro developer Team prioritize a feature/functionality on the to do list when multiples users request it.
So, be patient!
Best Regards,
Early with 7.2 beta release, i was discussing with the developer team about. Hopefully, they informed we that we'll be able to have
1.- Normal Logic execution within block;
2.- Reenter focus within block.
in the future.
So, you'll be able to you logic inside block.
The CSPro developer Team prioritize a feature/functionality on the to do list when multiples users request it.
So, be patient!
Best Regards,
G.VOLNY, a CSProuser from Haiti, since 2004
-
- Posts: 572
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: movement statements (advance, ask, move, reenter, skip)
Dear Arron Htuser
I had tried to write my logic within the block but it is not working. I hope, it will work in the future as Htuser requested.
If CSPro team can add one more think in development list is hidden statement in the tablet.
It is very use-full when we are trying to get same data twice. Example contact number, cnic, etc.
Best.
a.
I had tried to write my logic within the block but it is not working. I hope, it will work in the future as Htuser requested.
If CSPro team can add one more think in development list is hidden statement in the tablet.
It is very use-full when we are trying to get same data twice. Example contact number, cnic, etc.
Best.
a.