Verification tests added to survey

I've been getting a number of survey returns without a score recently.  There have also been a few scores of 1 or 2, some of which I suspect may be because the person erroneously clicked on the wrong end of the scale (given that we get far more high scores for the same articles).

So I added some JavaScript verification. (It is only applied to a document if javascript is turned on, so there's no change if you have javascript turned off.)

[1]
If the user tries to submit a response without a score a message appears to say "Please indicate whether you found this useful before submitting. The form has not been submitted."  The form is not submitted and the user has the chance to try again.

[2]
If the form is submitted with a score of 1 or 2 a confirmation message pops up to say:

"You indicated a score of <value>/5. Since this is a low score we would appreciate it if you would explain why in a comment.
Do you want to add a comment?
(If you assigned a low score by mistake, say 'OK' and you will be able to change your score.)"

If you click on 'Cancel' the form is submitted without any comment.

If you click on 'OK', you are taken to the version of the form that allows you to make a comment (as if you had checked "I want to add suggestions or comments").

IF YOU FEEL LIKE TESTING THIS FUNCTIONALITY:
Please ensure you always leave a note to say that this is a test, and who you are - otherwise you will affect our monthly results! If you make a mistake and one gets through without a comment saying it is a test, please immediately submit another response with a comment, indicating the score of the previous message and that it was a test.

I will in due course extend this to all the pages with a survey form. It currently works only with http://www.w3.org/International/questions/qa-i18n.html

Cheers,
RI


============
Richard Ishida
Internationalization Lead
W3C (World Wide Web Consortium)

http://www.w3.org/People/Ishida/
http://www.w3.org/International/
http://people.w3.org/rishida/blog/
http://www.flickr.com/photos/ishida/

Received on Sunday, 8 January 2006 19:03:32 UTC