Custom Validation for a Form Field | XM Community
Skip to main content
Hello all together,



I am struggeling with my custom validation in a for Field.



The question looks like this:

!



So, I want to check if the sum of the four lower fields is equal to the first field.

Sadly, I am not able to enter variables (in this case the number entered in one of the other questions) into the custom validation, but only fixed values (e.g. 3).



Can somebody help me?



Best,

Fabian
@FabianM you can used piped text and the Qualtrics math operations to do what you are talking about.



Make sure that your form fields are formatted to validate that they are number entries and not text. You used piped text to get the codes for the last three variables and the math function $e{ variable1 + variable2 + variable3} to make sure that the last three equal the first row. I've attached a .qsf where I set up a simplified version of your question. It has a second question to prove the math and the first question, which matches yours has the custom validation you are hoping for.

Leave a Reply