Constraints on answer Choices with 2 different questions

Hi,

Please i need your help on below.

S7. How long have you worked in your current role or position?

1 = Less than a month
2 = 1 month and more but less than a year
3 = 1year and more but less than 4years
4 = 4years and more but less than 7years
5 = 7years and more but less than 10years
6 = 10years and more

N2. How long have you worked at this company?

1 = Less than a month
2 = 1 month and more but less than a year
3 = 1year and more but less than 4years
4 = 4years and more but less than 7years
5 = 7years and more but less than 10years
6 = 10years and more

Constraint message: Please check — the duration at this company should not be shorter than your current role or position at S7.

Please help me solve the above constraint to be implemented in Kobo form.

They are two different questions all together but same answer choice.

So I don’t want a situation whereby someone will select code 3 at S7 and at N2 continue to select code 2. This doesn’t make sense when you read both questions. Length spent in a company cannot be less than the length of your current position.

Thank you,
Ernest.

Hi,

Please need you to me help me with below.

I’m finding it difficult to set constraints on two questions with answer choices. Below are the questions and the constraint message.

S7. How long have you worked in your current role or position?

1 = Less than a month
2 = 1 month and more but less than a year
3 = 1year and more but less than 4years
4 = 4years and more but less than 7years
5 = 7years and more but less than 10years
6 = 10years and more

N2. How long have you worked at this company?

1 = Less than a month
2 = 1 month and more but less than a year
3 = 1year and more but less than 4years
4 = 4years and more but less than 7years
5 = 7years and more but less than 10years
6 = 10years and more

Constraint message: Please check — the duration at this company should not be shorter than your current role or position at S7.

Please help me solve the above constraint to be implemented in Kobo form.

They are two different questions all together but same answer choice.

So I don’t want a situation whereby someone will select code 3 at S7 and at N2 continue to select code 2. This doesn’t make sense when you read both questions. Length spent in a company cannot be less than the length of your current position.

Thank you,
Ernest.

Hi @rockyjunior24gh and welcome back!

These posts can help you to achieve that:

1 Like

@rockyjunior24gh, if I understand your requirement S7 should be <= N2. Did I get you correctly? If that is what you are looking for, then you could do it as outlined in the screenshots below:

In your survey sheet

In your choices sheet

When condition does not satisfy:

When condition satisfies:

Reference XLSForm:

Constraint.xlsx (11.3 KB)

You can learn more about adding constraints to your form by following this support article: Adding validation criteria in the Formbuilder.

1 Like

This is great, thank you so much!!!

1 Like

This is great, thank you so much!!!

Hi @


hakan_cetinkaya |

  • |

Please In Kobo, if **multiple submissions (**Online-Offline (multiple submission)) is enabled and later changes it to Online-only (once per respondent), can this automatically change to Online-only (once per respondent) after someone submits?

If so, what should be the settings.

Thanks,
Ernest.

Hi Kalyan,
Thank you for your feedback. I’ve actually done that and haven’t received any response yet. Please do some follow up on my behalf so this can be resolved on time for me.

Thanks once again.

Regards,
Ernest.