Hi all,
How can I stop the e-mail field (when updating the profile) in Moodle from being mandatory please?
Thanks
Z
Printable View
Hi all,
How can I stop the e-mail field (when updating the profile) in Moodle from being mandatory please?
Thanks
Z
One way is to never amend via front end and always use a csv file.
Prob not answer looking for but it works :)
regards
Simon
Sorry I don’t get what you mean
Just been looking at the Moodle demo and you could change the authentication type so it's set at no authentication. That way it doesn't matter what email address the user enters. That might work.
My moodle setup authenticates users using LDAP it automatically fills the e-mail filed in for most users. But our year 7’s don’t have e-mail so I don’t want to make it mandatory so it doesn’t make them put an address in.
Off topic but has anyone had problems with moodle pulling e-mail addresses from AD? It doesn’t always work first time on my setup.
You could change the field to locked? That way users won't be able to edit the email field and therefore Moodle shouldn't complain about it being blank?
Edit: you edited the post lol this is what it said before
No they don’t need to register but when they login for the first time the “update profile” page comes up. If you look on my previous posts I didn’t say when registering, sorry I should have made it more clear.Quote:
If you're pulling the information from AD then users don't need to register at all do they so surely it doesn't matter? Sorry if I've not understood what you mean.
i'm pretty sure it still complains.Quote:
You could change the field to locked? That way users won't be able to edit the email field and therefore Moodle shouldn't complain about it being blank?
Are you able to try it? I do not have an installation of Moodle and the demo ones don't allow you full control. If it does then why not just populate the field with a dummy address?
Yep I have an installation on my work laptop, I will try tomorrow if it works but im pretty sure it doesn’t.
Take a look at this forum page from the moodle.org website, it should help you find the correct files to edit to achieve this.
http://moodle.org/mod/forum/discuss.php?d=79669
Mike.
When using LDAP authentication, there is no requirement for email addresses to be present. Email addresses only become mandatory when you enable the 'Email based self registration' authentication plugin.
you can pull accross any dummy information. If your using mail a few people have problems with it, i use upn instead.
No When you first login you get a page to update your profile.