Note:

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

User profile fields: Difference between revisions

From MoodleDocs
No edit summary
mNo edit summary
Line 1: Line 1:
==Introduction==
==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 with some options, then you will need to create profile field plugin.
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==
==History==
User profile fields exists from 1.9 and supports five default user profile field plugins:
User profile fields exists from 1.9 and supports five default user profile field plugins:

Revision as of 05:02, 27 January 2012

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