How do I restrict input box to numeric input and fractions only with n=1-12 and d=2-12?

Neil Arnie Lopez shared this question 3 months ago
Needs Answer

I want to restrict the input box to only fractions with numerator ranging from 1-12 and denominator ranging from 2-12.

Can this be achieved by using script? How?

Here is the link of the applet:


https://www.geogebra.org/m/mhgqgt3x

Comments (1)

photo
1

What do you want it to do exactly if the user types an "illegal" fraction?

© 2021 International GeoGebra Institute