How can I display the description field below the custom profile fields in the sign up form?
Thank you.
How can I display the description field below the custom profile fields in the sign up form?
Thank you.
I am confused too... Why this description field? Just for internal use but it is never displayed...
There is a patch here but never merged: https://tracker.moodle.org/browse/MDL-56367
And some information here: https://moodle.org/mod/forum/discuss.php?d=313956
Yeah, that's definitely an anomaly. I have a bit of javascript that fetches the language strings and creates the little question mark help. So less than ideal but it works.
I've attached a sample of what I have, though you'll need to change it to suit your needs and your theme. You'll also need to build the amd js.
In any case, stick myprofile.js in theme/yourtheme/amd/src and lib.php in theme/yourtheme/lib.php (or editing your existing lib.php file).