Embedding a hyperlink in feedback

Embedding a hyperlink in feedback

by Paul Flynn -
Number of replies: 3

Is it possible to include a link, within the feedback to a question, to a file containing the solution to a question, .

eg The feedback may look like

"Sorry, this is incorrect, the solution to this question can be viewed by clicking here"

Average of ratings: -
In reply to Paul Flynn

Re: Embedding a hyperlink in feedback

by Gustav W Delius -
Yes, you can use arbitrary html in the feedback, so you could write "Sorry, this is incorrect, the solution to this question can be viewed by <a href="http://something">clicking here</a>" where you replace 'http://something' by the url of your solution. Only problem: if the solution is publicly accessible on the web then how do you make sure students don't look at it before trying the question?
In reply to Gustav W Delius

Re: Embedding a hyperlink in feedback

by Paul Flynn -

Thanks Gustavfor your very speedy response. I have tried this method, but it displays the file address ie (href = "some url" ) as a choice within a MCQ question.

I  am directing the student to a txt file instead of a html file, would this cause a problem?

 I did not describe exactly what i am trying to achieve. I hope to have a text file for each quetion. These text files will be stored in the quiz folder of my moodle module (I think thats what its referred to as - I'm new to Moodel). The link I referred to will direct the student to that text file. The questions and the text files will be created by a Visual Basic program and I will upload/import these to moodle.

I

In reply to Paul Flynn

Re: Embedding a hyperlink in feedback

by Paul Flynn -
I found my problem. I didn't realise that  the '='  in '<a =href ' was a control character and had to be preceeded with a '\'. Thanks again for your help.