type
name
label::English
hint
relevant
required
constraint
constraint_message
calculation
repeat_count
appearance
begin group
page_cov0d_a
share of female workers
note
note_cov0d_a
cov0d. What is the number or total share of female workers currently?
intiger
cov0d
(%) Share of female workers
(.>=0 and .<=100) or .=-99
The value has to between 0 and 100 unless it is -99.
numbers
intiger
cov0d1
Number of female workers
numbers
end group
page_cov0d_a
user must field data (0 to 100) either Q covod or covod1 , how this possible please help me .
COVID-BPS-WB-2022_test.xlsx (27.6 KB)
@dipendra , maybe you could make the required
column TRUE
that should solve your issue as outlined in the post discussed previously:
Hi @mmnahid ,
Welcome to the community! Kindly please be informed that this is an error message controlled by the system which you are not able to edit/change. However, there are places where you could make it more specific.
Example 1: Here you get this error message as you have left out one of the mandatory questions.
[Iamge 1]
You could change the yellow highlighted error message This field is required to You have left the question blank, please fill it! by adding a required_message column…
Dear Sir,
We want to say : How to make one of the fields mandatory in this question. For example if the user has answered first question then the second question is not mandatory.
@dipendra , maybe you could try this custom logic (discussed previously) that should fulfill your requirement:
Hi @adepuk ,
It’s not always that you wish to see your variables mandatory (where the variable should be filled, else the filled-up form would not get submitted to the KoBoToolbox server) or optional (where the variable could be left blank and the filled-up form could still be submitted to the KoBoToolbox server). You might sometimes wish to make it mandatory for certain criteria.
It is a form of a mandatory response if and only if it meets a certain criteria else it would act as an optional re…
Hi @Kal_Lam ,
Here I am stuck with the almost same problem.
What I need is:
If the first question is answered, then the second question should be optional.
If the first question is left blank, then the second question must be answered and should be able to go to the next question.
Both questions should be visible to data collectors always.
Data collector should not be able to advance forward without answering at least one of those two questions.
Here is the xls form.
Making one mandatory and another one optional.xlsx (8.6 KB)
many thanks in advance for your support.
@tasfik_rukan , maybe you will need to have a closer look at this workaround again to make your issue work:
Hi @adepuk ,
It’s not always that you wish to see your variables mandatory (where the variable should be filled, else the filled-up form would not get submitted to the KoBoToolbox server) or optional (where the variable could be left blank and the filled-up form could still be submitted to the KoBoToolbox server). You might sometimes wish to make it mandatory for certain criteria.
It is a form of a mandatory response if and only if it meets a certain criteria else it would act as an optional re…