New accounts: how to define City/State and Country as mandatory fields

Re: New accounts: how to define City/State and Country as mandatory fields

by Jon Bolton -
Number of replies: 0
Picture of Particularly helpful Moodlers Picture of Testers
It’s not possible to make those fields mandatory in core Moodle without altering the underlying code.

There is a workaround though - use the Associated Input plugin - https://moodle.org/plugins/profilefield_associated - and create custom profile fields.

As you say though, there is no way of validating the data input, but that’s also true for many other fields in the user profile.