Edit: Okay, you saw your mistake.
This is not an equation to validate the question.
Read the manual about question validation and subquestion validation
[url]
www.limesurvey.org/manual/Question_type_...28em_validation_q.29
[/url]
or study the demo surveys about this.
[url]
www.limesurvey.org/manual/ExpressionScri...Validation_Equations
[/url]
Create a new question of type equation where you insert the formula.to store the number and to use this to proceed according to your wishes.
Joffm
BTW:
A validation equation is a logical term (either TRUE or FALSE).
So you may use
statCountIf(Q1.sgqa, "="+Q1)==0
But I do not see a sense in it. You force a number that was not entered before.
But what do you do if the respondent doesn't have a different one?