I am working on using JSXGraph as part of a Formulas Qtype (using Moodle 3.8.3.).
As example I show a randomized question to resolve a vector into its horizontal and vertical components, then draw it (in the JSXGraph board). The question evaluates the user input, but it should also check the drawing (that is, if the coordinates of the arrow are correct after the user submits (see screenshot below and xml-file attached).
- I want to hide input field 3 and 4, so that the student can't read the coordinates of the vector. How can I do this? (I did not find the way to change the font-color of a input field. (Or can "Formulas" fetch the coordinates and evaluate them without writing them in an input field at all?)