Check if two field values are equal
the first value
the second value
the error to throw if the values are not equal
Check if two field values are equal