Hi Christine,
The questions that you want to compare must have the same data type. You might find the documentation here helpful: https://docs.truecontext.com/1374411/Content/Published/115003318126.html#Ifstatements (see the section "Compare to a question")
Also, this topic explains which operators work with each data type:
Conditional Logic: Operators and Actions
Hope that helps, but if not, please let us know.
Best regards,
Karen
------------------------------
Karen Cann
Technical Communications Manager
TrueContext
------------------------------
Original Message:
Sent: 07-04-2025 13:55
From: Christine Watt
Subject: Conditional Logic question
Is there a way to have a form flag an error if 2 amounts don't match?
I have one page in my form that asks for the total distance GPS'd which our construction staff enter manually. On the next page, there are multiple sections where they enter distances of pipe installed depending on the equipment used. The form totals the distance from each installation method and if it's entered correctly, the total SHOULD BE the same as manual amount then entered in distance they GPS'd.
When I try building a conditional logic rule, if I select the question for the GPS'd total and use the "DoesNotEqual not=" option, the Total Distance question does not appear as a choice. Is there a way to do this?
------------------------------
Christine Watt
Financial Controller
Forty Mile
------------------------------