Hello,
First I woudl like to say that I have very little programming knowledge (if any), but I am adventurous so I thought of asking for help to see if I can do this (and learn on the way)
I'm basically trying to add a text below a "user profile field" (menu of choices) - similar to the "passwordpolicyinfo" text that appears above the password field.
I thought that the best way to do it would be to use the text I enter in the description field. Searching I found this thread below that explains exactly what I want to do and I see that it is has not been resolved yet.
http://tracker.moodle.org/browse/MDL-26343
So far, I have been able to copy this line of code to the appropriate place where I want the code to appear.
$mform->addElement('static', 'passwordpolicyinfo', '', print_password_policy());
Now What I wanted to do is to pickup the text that I have written in the description field to replace the "passwordpolicyinfo" text.
Can someone help me?
Thanks!!!