IsEqual
Description:
script:isequal(parameter1,parameter2)
Compare if two values have the same value. To be used when you want to check if question Q1 has the same value as question Q2. The function returns a value of 1 if equal or 0 if not equal.
It can be used to automatically fill in a numeric question (that will get response 0 or 1).
Or to fill in a single choice questions with two rows (row1 with code value of 0 and row2 with code value of 1)
Parameters:
This function has exactly 2 parameters
Example:
script:isequal(\Q1.a.1,\Q2.a.1)
This will return the value 1 when the two questions have the same value.