SubjectRefresh / refresh

A Machine Learning Question Generator
Other
4 stars 3 forks source link

Validate answers #9

Closed developius closed 9 years ago

developius commented 9 years ago

There needs to be validation of the input boxes via their ‘answer’ attribute.

developius commented 9 years ago

@popey456963 if you don't use jQuery I'll not be happy :stuck_out_tongue_winking_eye:

popey456963 commented 9 years ago

Working on this, somethings come up though. If we put the answer attribute in the source of the file, can't people just "cheat", and view source to get the answers.

developius commented 9 years ago

I think I did it @popey456963 :grinning: except that yeah, they can just look at the source. However, as @OliCallaghan pointed out, it's defeating the object of revising. If you're cheating then you have no self control or self respect.