Hi Folks
Is it possible to parse the enrolment key to the enrolment key field using a 'get' variable.
Reason being is that I have two modules (1 and 2) and on completion of a quiz in mdule a link is provided to module two which has an enrolment key. Id like to dynamically populate the enrolment key field with the enrolment key
I am using the following code to attempt this but it does not work
<a href="http://www.mycourse.com/course/view.php?id=3&password=myPassword">Module 2 </a> - the password is: <font color="red">brighton</font>
kind regards
Maaaaybe.... you would need to examine the form for the enrollment key entry and make sure you correctly supply *all* the parameters is expects.
Where you might come unstuck is if it wants the 'sesskey' value. I don't think you'll be able to populate that as it is different for every user.
Where you might come unstuck is if it wants the 'sesskey' value. I don't think you'll be able to populate that as it is different for every user.
Thanks for the reply. I guess it's not that vital so I'll plod on and just supply them with the password
ta!
ta!