I have two questions:
1st question (required)
whats is your gender?
how old are you?
I want to make 2nd question required if 1st answer is (male)
and not required if the answer (female)
so the female can answer or make answer empty
how I can do that?
You could skip a question as outlined in the image below:
In the survey tab of your xlsform:
In the choices tab of your xlsform:
Data entry screen as seen in Enketo: (While selecting Female)
Data entry screen as seen in Enketo: (While selecting Male)
Skipping Questions.xlsx (10.9 KB)
You could also have a look at our support article Adding Skip Logic to Your Form to understand more on skipping.
Have a great day!
As suggested by Kal at the end of the explanation. Most of the introductory components on designing forms are actually presented within our support articles. We encourage that users take a read at these which can be found here and then come back on difficulties they experience in using the approaches provided.