Remove city and country in registration page

Remove city and country in registration page

by Edmund Evangelista -
Number of replies: 2

How to remove the city and country textbox on the registration page?


Average of ratings: -
In reply to Edmund Evangelista

Re: Remove city and country in registration page

by Kahraman Bulut -
Picture of Testers

Hi Edmund,

Why do you want to remove them?

They are optional,  users don't need to fill them if they don't want to.


If you really insist on it the form is located at \moodle\login\signup_form.php, where you can remove these fields.

However, this change would be custom code and you need to care that it is also transferred in Moodle upgrades.


Alternatively, you can use custom CSS (display:none)  of your theme.

Average of ratings: Useful (1)
In reply to Kahraman Bulut

Re: Remove city and country in registration page

by Edmund Evangelista -
Thanks Kahraman, the CSS will do the trick. One of our Moodle platform is

intended for Grade 11 and 12 students, we only want to have limited fields

during self registration to make it simple and easy for them.



On Tue, Feb 20, 2018 at 3:36 AM, Kahraman Bulut (via Moodle.org) <