Hello,
I am asking a date of birth to clients using Survey123 Connect.
As, sometimes it is difficult to get this information, I added other alternative questions.
Choices for birth_year:
Below are the statements and I don't know how to do it?
1. If (date_birth) is populated, I don't want the (year_birth) and (guess_birth_year) question to show up.
2. If (year_birth) is populated I don't want (guess_birth_year) question to show up.
The (guess_birth_year) is the last option for the surveyors to choose.
Thank you in advance for your assistance!
Using an expression in the "relevant" column will show the question if the expression is true, and hide the question (and wipe any data inside) if false. The Form Expressions page is a good starting point on how to use this column. For most fields, the "string-length" function is a good test for empty questions, if the length is 0 then the field is empty, otherwise it isn't. Put two and two together and you should have a solution.