Hello,
I’d like the users to add their pass-number or id-card-number or both, but AT LEAST ONE OF THOSE PIECES OF INFORMATION in at least one of the two dedicated fields :
Declarant_Num_Passeport
Declarant_Num_CNI
I made an attempt to trigger the fields mandatory with this logic : If Field_Declarant_Num_Passeport : empty
And vice-versa : If Field_Declarant_Num_CNI : empty
The syntax is wrong.
QUESTION : What would be the respectively correct syntax for the formulas to work ?
Here some screenshot :
Welcome back to the community, @alienationfreez! You could do it as outlined in the post discussed previously. (if you have the information predefined):
I’m not getting exactly the point out of the mentioned thread. At least, I think this new syntax in my screenshots is a bit closer to correctness, but I’m probably still missing relevant aspects. Do you know what is missing in order to generate a working if-first-field-empty-then-second-field-mandatory (and vice-versa) -behavior of the involved fields ? / Here the current status of the formulas as screenshots :
Merci Kal_Lam !
To make it sure : « In the survey tab of your XLSForm: » …means, the setup can exclusively be achieved via the XLSForm ? … Or is there any possibility to achieve the same setup via the UI in any browser ?
Best from South of France
And question_2 : I’d just like to make sure that adding a row ( here « #4 / Note … » in your example ) won’t disturb the functionality of the xlsx-file … it won’t, will it ?
And question_3 : Should the xlsx-file-name stay exactly the same after re-upload onto the server or can I define a new name with version-number ? / In this case, is there any name-update to proceed for correct file-link respective to the database ?
@alienationfreez, you will need to understand the logic first, and then you could copy and use it. But be careful that the variable names match wit the ones you have.