Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

User profile fields

From MoodleDocs
Revision as of 05:02, 27 January 2012 by Rajesh Taneja (talk | contribs)

Introduction

This plugin allow you to add custom user profile fields, which can be added to user profile. For example, if you want to display radio buttons on user profile, then create radio user profile field plugin and add them to user profile field.

History

User profile fields exists from 1.9 and supports five default user profile field plugins:

  1. Checkbox
  2. datetime
  3. menu
  4. text
  5. textarea

Example

Template

Naming convention

Interfacing to API's

Database tables

FAQ

How to add custom user profile field

Admin can add existing or custom profile fields. Refer en : User profile fields for adding user profile fields to user profile.

Which form elements does moodle support

Refer Form_API for list of elements supported by moodle