General developer forum

Adding a new field on the New Account page and make it necessary

 
Picture of Alexander Kuptsov
Adding a new field on the New Account page and make it necessary
 

Hello everyone,

I need to add a new field on the new Account page whose label says something like:

'I agree to provide my details on this site' 

and 

I also need to have a checkbox with the Yes label or a dropdown 'Yes'/'No' menu or something like that that should be obligatory to check/choose 'Yes' if the user wants to proceed with the registration. And if s/he doesn't check it/choses 'No', the further registration is impossible.

How can I do that?

Thank you.


 
Average of ratings: -
Picture of Dave Balch
Re: Adding a new field on the New Account page and make it necessary
Group Core developersGroup Particularly helpful MoodlersGroup Plugin developers

You should be able do that User profile fields: https://docs.moodle.org/33/en/User_profile_fields

 
Average of ratings: -