Matrix Type Question for KoboCollect

Hi! Is there a way to create a matrix type question (like in the web) for Kobocollect? Or any ideas how make this into a form?

Hi @sarinarida and welcome to the community!

Unfortunately, Matrix type question only works when using Enketo, utilizing the Grid-theme layout.

2 Likes

Oh! alright, its there a way to make it appear like this in the survey? Essentially, what I want to happen is that is when the respondent selects the source of income, they also get to enter the amount they earn from it and sum it.

Hi @sarinarida,
Please share me the Matrix questions. I will share you, how i develop the matrix for my survey and use in Kobocollect?

I hope that I can create this as a matrix in the form. Where they can check their sources of income and enter how much they earn from it. And finally, its doesn’t have to be in the matrix but it would be great if I can sum all of their answers in the form where they can see it

Here’s what I attempted to do:

begin_group _0_20_Amount_per_source 0.20 How much is the average monthly income of your household for the past 12 months by income source? true
decimal _0_20_Amount_per_source_employee_salary Employee (salary) thousands-sep selected(${0_19 Source_of_income}, ‘employee__salary’)
decimal _0_20_Amount_per_source_self_employed__ex__sari_sari Self-employed (Ex. sari-sari store or small business) thousands-sep selected(${0_19 Source_of_income}, ‘self_employed__ex__sari_sari’)
decimal _0_20_Amount_per_source_subsistence_agri Subsistence farming/agriculture/ livestock raising thousands-sep selected(${0_19 Source_of_income}, ‘subsistence_agri’)
decimal _0_20_Amount_per_source_fishing Fish production/fishing thousands-sep selected(${0_19 Source_of_income}, ‘fishing’)
decimal _0_20_Amount_per_source_laborer_unskilled_worker Laborer/Unskilled worker thousands-sep selected(${0_19 Source_of_income}, ‘laborer_unskilled_worker’)
decimal _0_20_Amount_per_source_retired_pensioner Retired/Pensioner thousands-sep selected(${0_19 Source_of_income}, ‘retired_pensioner’)
decimal _0_20_Amount_per_source_overseas_worker Overseas worker thousands-sep selected(${0_19 Source_of_income}, ‘overseas_worker’)
calculate _0_21_Average_Monthly_Income 0.21 Average Monthly Income Amount true ${_0_20_Amount_per_source_employee_salary} + ${_0_20_Amount_per_source_self_employed__ex__sari_sari}+${_0_20_Amount_per_source_subsistence} + ${_0_20_Amount_per_source_fishing}+${_0_20_Amount_per_source_laborer_unskilled_worker} + ${_0_20_Amount_per_source_retired_pensioner}+${_0_20_Amount_per_source_overseas_worker}
note 0.21 Total Average Monthly Income
end_group

@sarinarida, this site here should help you design your form as needed.

1 Like

Wow, this is great! I will try this out! Hopefully, it also works in the KoboCollect app

@sarinarida, sorry as outlined by @hakan_cetinkaya and @Bulbulrds previously it only works with Enketo aka the webforms.

1 Like

Are there any work arounds that you can recommend?