Check Numeric Min Max Demo
This survey demonstrates the check numeric processing that is available in the web survey facility. By default, the
Answer Type
for all questions is
Text
. However when a
Text Line
input type question has
Answer Type
set as
Numeric
, the check numeric processing is enabled for that question. When the respondent enters a non-numeric answer for that question, a Javascript window pops up to inform the respondent that the answer is not a number. If the respondent clicks on a Submit button after entering a non-numeric answer, then the same Javascript window with the same error message will appear and the
Submit action will not occur
.
An answer is a valid number if the answer obeys all of the following rules
1)consists of only
digits 0 thru 9
and at most one decimal sign
.
2)one plus sign
+
is allowed only if it the
first character
3)one minus sign
-
is allowed only if it is
the first character
4)an answer is numeric if
all commas are removed
and rules 1 thru 3 are still true
Note if either the
Minimum Value
or the
Maximum Value
for a question has been set, then a Javascript window pops up to inform the respondent the appropriate error condition has occurred.
Please enter a number
Please enter a number between 0 and 10. Note that for this quetion, the
Minimum Value
is set to 0 and the
Maximum Value
is set to 10.
Review Mode-Responses Not Loaded Into Database