How to compare two field values as equal

Like I said in Pass value from one field to another automatically - #6 by Grzesiek2010
constraint column in which you need to put something like:
${questionA}=${questionB}+${questionC}+${questionD}

Everything you need you can find here: https://xlsform.org/en/ so it's definitely worth reading especially if you are new here.