Moodle username

Moodle username

by Win Ko -
Number of replies: 2

I have a PDF form created using Adobe LifeCycle Designer. There is a textfield in the PDF form and I'd like to pass current Moodle username to it when a user opens the PDF file. When a user prints it out his/her username will appear on the textfield.

Average of ratings: -
In reply to Win Ko

Re: Moodle username

by Randy Thornton -

If it will take this as a URL parameter, you can pass a fair number of variables including username as parameters using the URL resource: http://docs.moodle.org/25/en/URL_resource_settings#URL_variables

In reply to Randy Thornton

Re: Moodle username

by Win Ko -

Thank you, Randy. Now, I need to find out how to transfer URL parameter to a textfield.