Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9
-
Fix Version/s: 1.9.3
-
Component/s: Administration
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_19_STABLE
Description
I've written code to allow the creation of checkbox fields for use in the custom user profile fields. Thanks to the structure of the user profile code, it's just a matter of adding a new directory with the appropriate files (/user/profile/fields/checkbox/), and adding a language file. There are no changes to existing code.
Would you like to incorporate this into the standard Moodle code? I may still have cvs access (source forge username: brian-king). Or should I post it on the Moodle Modules and Plugins site?
Thanks and regards,
Brian
Code looks great!
I think there should be 2 other options when setting up the field:
a) text to display when checked;
b) text to display when not checked.
I can think of possible situations where yes/no wouldn't work. The defaults could be yes/no (taken from the language files).