1. What is the issue? Please be detailed.
I am designing a form with 3 text fields(fname
, mname
and sname
) in the same group. I have added a calculate field check_names_count
with the calculation
if((string-length(${fname})<0 and string-length(${mname})<0) or (string-length(${fname})<0 and string-length(${sname})<0) or (string-length(${mname})<0 and string-length(${sname})<0), "There must be at least 2 name items provided. First, Middle and Last names cannot all be empty.", "")
and a note names_count_note
with relevant set to ${check_names_count}!=""
and label set to ${check_names_count}
.
.
The issue is, I am still able to fill in just the fname
field and proceed just fine without the note field popping up with the desired error message to prompt the user/enumerator.
3. What have you tried to fix the issue?
I have tried setting the trigger of check_names_count
to ${fname} or ${mname} or ${sname}
4. Upload any forms or screenshots you can share publicly below.