0 votes

Hi,

Can someone help me providing or pointing me to examples of numerical validation?

I just need a simple case like Question / Number format / goto: if age less than 20 or higher than 70 goto end.

*label: age
*question: how old are you?
	*type: number
	...

Thanks in advance,
Américo

by (160 points)

1 Answer

+1 vote
Best answer
*label: age
*question: how old are you?
	*type: number
	*save: age 
	
*if: age < 20 
	Please try again. 
	*goto: age 
	
*if: age > 70
	You're way too old to be doing this. 
	*goto: end

You are {age} years old 
*button: cool
*label: end

Unsure if this is what you mean but here's just like a way around it probably. :)

by (480 points)
selected by

Super. Thank you saeed.

Welcome to Guidedtrack Q&A, where you can ask questions and receive answers from other members of the community.
134 questions
144 answers
55 comments
40 users