Hi,
My version is Ver:3.3.40.0 / 5.4.1.
I have replicated the same problem on your betasprings site and the same bug occurs. A simple form with only a checkbox on it and SQL validation of;
DECLARE @return_value int
SET @return_value = 1
IF ('$(chkBox)' = 'Yes')
BEGIN
SET @return_value = 0
END
SELECT @return_value AS IsValid
If the checkbox is unticked then no validation error is prompted, however once you tick the checkbox and submit a validation error occurs, which is correct, but after you remove the tick from the checkbox the error is still promtped after submit. The value of the checkbox is obviously not reset after validation.