PennController for IBEX › Forums › Support › Required fields in form › Reply To: Required fields in form
Hi,
[ I created a new topic for this question, as it does not relate to self-paced reading tasks ]
How did you add those boxes: as part of an Html document, or as TextInput elements?
If you are using an Html document, then you need to give the obligatory class to your required elements, as described in the original Ibex documentation. Then you can use the .test.complete command on your Html element.
If you are using a TextInput element, then you’ll want to use the .test.text command on it to check it’s not empty, e.g.: .test.text(/\w+/)
Checkboxes have not yet been implemented in PennController, so the simplest solution at this point would be to use an Html document
Jeremy