Help with a whammies quiz where the answers are years

Submitted by Hinckford on May 26, 2026
I am planning on making a quiz where the answers will all be years. It's an English football quiz, so the years will range from the later 1800s to the present.

I want to allow for some leeway, so guessing a few years either side of the correct answers will be accepted, but I wasn't quite sure how to implement that? i.e. I'm not too sure of how to select what will be accepted as type-ins and I don't think I want to have it so that entering, for example, "1597" will be counted as wrong! Is there a way I can set it so that it counts certain years within a particular range as incorrect?

I'm hoping that the quiz will end up being something like this one.

Hopefully this makes some kind of sense. Thanks for any help!

4 Comments
+1
Level 68
May 26, 2026
I think you might have to type it all in. I know what you're trying to go for and I don't think there's a setting to enable such.

I would probably do something like ^1[1-9]+ for the whammies and adding the leeway years as type-ins.

+1
Level 68
May 26, 2026
After attempting the whammies type-in I proposed, yeah it don't work. I hope you can find your solution though.
+1
Level 49
May 26, 2026
I think you can do this via having the whammies as something like ^(18|19|20)[0-9]+ and having the leeway years as type ins.
+8
Level ∞
May 26, 2026
You have to use a regex. For example to allow all years in a 5 year range from 1890–1895:

^(1890|1891|1892|1893|1894|1895)

or

^189[0-5]

AI can help with this. Funny enough, AI couldn't do this until about 1 year ago. So it might still make mistakes.