Note: You are currently viewing documentation for Moodle 2.9. Up-to-date documentation for the latest stable version of Moodle may be available here: ELIS Custom fields examples.

ELIS Custom fields examples: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
To access the Custom fields go to the Program Management block &gt; Admin &gt; Custom fields. From there use the tabs at the top of the page to navigate to a section and create a new field. Custom fields are added to categories, if there isn't a category on the page one will need to be added.<br /><br />[[Image:elis_customfield_input_types.png|frame|center|]]<br />There are 6 custom field input control types:
<h2>Custom Field Examples</h2>
To access the Custom fields go to the Program Management block &gt; Admin &gt; Custom fields. From there use the tabs at the top of the page to navigate to a section and create a new field. Custom fields are added to categories, if there isn't a category on the page one will need to be added.[[Image:elis_customfield_input_types.png|frame|center|]]There are 6 custom field input control types:
<ol>
<ol>
   <li>Checkbox</li>
   <li>Checkbox</li>
   <li>Menu of choices or drop down menu</li>
   <li>Dropdown menu</li>
   <li>Text input</li>
   <li>Text input</li>
   <li>Text area</li>
   <li>Text area</li>
   <li>Password input</li>
   <li>Password input</li>
   <li>Date/time</li>
   <li>Date/time</li>
</ol><br />The control types are selected on the creating/editing screen for custom fields. The following image of this screen shows the Manual editing section of the form. <br /><br />[[Image:elis_customfield_input_types2.png|frame|center|]]<br />
</ol><br />The control types are selected on the creating/editing screen for custom fields. The following image of this screen shows the Manual editing section of the form. [[Image:elis_customfield_input_types2.png|frame|center|]]<br />
<h2> 1. Checkbox</h2><br />To demonstrate the checkbox input control type I will create a custom track field. The first image shows the first section of the screen to create a custom field, the Common settings section. <br /><br />The short text data type has been selected for this example. This data type enables a list to be added with a checkbox next to each value.<br /><br />[[Image:elis_customfield_checkbox.png|frame|center|]]<br />The following image shows the second section of the custom field creation screen, the Manual editing section. The input control type is selected here, checkbox is selected in this example. Since we are using the short text data type, we can add a list of values that will be shown when adding a track.<br /><br /> [[Image:elis_customfield_checkbox2.png|frame|center|]]<br />This image is showing the Add Track screen with the custom field we just added.<br /><br />[[Image:elis_customtrackfield.png|frame|center|]]<br />
<h2>Checkbox</h2>
<h2>2. Dropdown Menu</h2><br />To demonstrate the dropdown menu input control type I will create another custom track field. The name of this custom field is Track Color. In the following image I am creating the custom field, I have scrolled down near the Manual editing section.<br />
To demonstrate the checkbox input control type I will create a custom track field. The first image shows the first section of the screen to create a custom field, the Common settings section. <br /><br />The short text data type has been selected for this example. This data type enables a list to be added with a checkbox next to each value.[[Image:elis_customfield_checkbox.png|frame|center|]]The following image shows the second section of the custom field creation screen, the Manual editing section. The input control type is selected here, checkbox is selected in this example. Since we are using the short text data type, we can add a list of values that will be shown when adding a track.[[Image:elis_customfield_checkbox2.png|frame|center|]]This image is showing the Add Track screen with the custom field we just added.[[Image:elis_customtrackfield.png|frame|center|]]<br />
<h2>Dropdown Menu</h2>
To demonstrate the dropdown menu input control type I will create another custom track field. The name of this custom field is Track Color. In the following image I am creating the custom field, I have scrolled down near the Manual editing section.
<ol>
<ol>
   <li>The short text data type has been selected.</li>
   <li>The short text data type has been selected.</li>
   <li>The dropdown menu input control type has been selected.</li>
   <li>The dropdown menu input control type has been selected.</li>
   <li>4 values or options have been added. I add the 'none' option for a default value, because with this setup the first option will be automatically assigned to new tracks unless edited. </li>
   <li>4 values or options have been added. I add the 'none' option for a default value, because with this setup the first option will be automatically assigned to new tracks unless edited. </li>
</ol><br />[[Image:elis_customfield_dropdown.png|frame|center|]]<br />The following image shows the add track screen with the new dropdown menu custom field.<br /><br />[[Image:elis_customtrackfield_menu.png|frame|center|]]<br />
</ol>[[Image:elis_customfield_dropdown.png|frame|center|]]The following image shows the add track screen with the new dropdown menu custom field.[[Image:elis_customtrackfield_menu.png|frame|center|]]<br />
<h2>3. Text Input</h2><br /> This is an example of the text input type. I'll be creating another custom track field for this example. The following screen is showing the Common settings section for this new field.<br />
<h2>Text Input</h2>
This is an example of the text input type. I'll be creating another custom track field for this example. The following screen is showing the Common settings section for this new field.
<ol>
<ol>
   <li>Shortname of the new custom field</li>
   <li>Shortname of the new custom field</li>
   <li>Name</li>
   <li>Name</li>
   <li>The Data type will be &quot;long text&quot;</li>
   <li>The Data type will be &quot;long text&quot;</li>
</ol><br />[[Image:elis_customtrackfield_textinput.png|frame|center|]]<br />The next image shows the manual editing section. For the input control type, Text Input has been selected from the drop down menu.<br /><br />[[Image:elis_customtrackfield_textinput2.png|frame|center|]]<br />Save changes and the new option is displayed on the add/edit track screens. For this field, just add the text.<br /><br />[[Image:elis_customtrackfield_textinput3.png|frame|center|]]<br />
</ol>[[Image:elis_customtrackfield_textinput.png|frame|center|]]The next image shows the manual editing section. For the input control type, Text Input has been selected from the drop down menu.[[Image:elis_customtrackfield_textinput2.png|frame|center|]]Save changes and the new option is displayed on the add/edit track screens. For this field, just add the text.[[Image:elis_customtrackfield_textinput3.png|frame|center|]]
<h2>4. Text Area</h2> <br />This example will demonstrate the &quot;text area&quot; input control type. The following image is showing the setup screen for this custom field.  
<h2>Text Area</h2>
This example will demonstrate the &quot;text area&quot; input control type. The following image is showing the setup screen for this custom field.  
<ol>
<ol>
   <li>&quot;Long text&quot; has been selected for the Data type.</li>
   <li>&quot;Long text&quot; has been selected for the Data type.</li>
   <li>&quot;Text area&quot; has been selected for the Input control type</li>
   <li>&quot;Text area&quot; has been selected for the Input control type</li>
</ol><br /> [[Image:elis_customtrackfield_textarea.png|frame|center|]]<br />The following image shows the new custom field on the add/edit track screen. This Input control type enables an html editor. <br /><br />[[Image:elis_customtrackfield_textarea2.png|frame|center|]]<br />
</ol>[[Image:elis_customtrackfield_textarea.png|frame|center|]]The following image shows the new custom field on the add/edit track screen. This Input control type enables an html editor.[[Image:elis_customtrackfield_textarea2.png|frame|center|]]<br />
<h2>5. Password Input</h2> <br />The following use case will demonstrate a Password Input type profile field:<br /><br />An administrator wants to assign users to user sets by sending them a password that they will enter in a survey, which updates their profile and assigns them to a user set. <br /><br />First, create a custom Moodle profile field. Go to Site Administration block &gt; Users &gt; Accounts &gt; User profile fields. The are a couple reasons why we create a Moodle profile field first:<br />
<h2>Password Input</h2>
The following use case will demonstrate a Password Input type profile field:<br /><br />An administrator wants to assign users to user sets by sending them a password that they will enter in a survey, which updates their profile and assigns them to a user set. <br /><br />First, create a custom Moodle profile field. Go to the Administration block &gt; Users &gt; Accounts &gt; User profile fields. The are a couple reasons why we create a Moodle profile field first:<br />
<ol>
<ol>
   <li>User sets use Moodle profile fields to auto-assign users to user sets. <br /></li>
   <li>User sets use Moodle profile fields to auto-assign users to user sets.</li>
   <li>The survey will use the Moodle profile field.</li>
   <li>The survey will use the Moodle profile field.</li>
   <li>Custom <span style="font-weight: bold;">user</span> fields in ELIS are created from Moodle profile fields. In this use case the custom user field in ELIS isn't necessary, but we will create it and synchronize it to copy values from Moodle anyways.</li>
   <li>Custom <b>user</b> fields in ELIS are created from Moodle profile fields. In this use case the custom user field in ELIS isn't necessary, but we will create it and synchronize it to copy values from Moodle anyways.</li>
</ol>Adding the Moodle profile field:<br />[[Image:elis_create_customfieldcat.png|frame|center|]]<br /><br />Create the ELIS custom user field. Go to the Program Managementz block &gt; Admin &gt; Custom Fields &gt; User tab. Select the Moodle field that will be used to create this field.<br /><br />[[Image:elis_create_customfieldcat.png|frame|center|]]<br /><br />Edit the settings for the new field.<br /><br />[[Image:elis_create_customfieldcat.png|frame|center|]]<br /><br />[[Image:elis_create_customfieldcat.png|frame|center|]]<br /><br />Save changes when finished.<br /><br />Now we will create the user set. The user set is being auto-associated with the Moodle profile field &quot;Password Input&quot; and the password &quot;1234&quot;. Other user sets could be created and assigned different passwords, e.g., 12345.<br /><br />[[Image:elis_create_customfieldcat.png|frame|center|]]<br /><br />The new profile field needs to be added to the survey. We are adding the Moodle profile field to the survey.<br /><br />[[Image:elis_create_customfieldcat.png|frame|center|]]<br /><br />The administrator sends the users a password that they enter in the profile survey. In this example the password is 1234.<br /><br />[[Image:elis_create_customfieldcat.png|frame|center|]]<br /><br />When users enter their password in the profile survey it updates their profile, which auto-associates them with the user set. The user set could be auto-associated with programs/tracks - auto-enrolling users of the user set in programs, tracks, and classes.<br /><br />
</ol><br />Adding the Moodle profile field:[[Image:elis_passwordprofilefield.png|frame|center|]]Create the ELIS custom user field. Go to the Program Management block &gt; Admin &gt; Custom Fields &gt; User tab. Select the Moodle field that will be used to create this field.[[Image:elis_customuserfield.png|frame|center|]]Edit the settings for the new field.[[Image:elis_customuserfield_settings.png|frame|center|]]Save changes when finished.<br /><br />Now we will create the user set. The user set is being auto-associated with the Moodle profile field &quot;Password Input&quot; and the password &quot;1234&quot;. Other user sets could be created and assigned different passwords, e.g., 12345.[[Image:elis_passworduserset.png|frame|center|]]The new profile field needs to be added to the survey. We are adding the Moodle profile field to the survey.[[Image:elis_updatingsurvey.png|frame|center|]]The administrator sends the users a password that they enter in the profile survey. In this example the password is 1234.[[Image:elis_completingsurvey.png|frame|center|]]When users enter their password in the profile survey it updates their profile, which auto-associates them with the user set. The user set could be auto-associated with programs/tracks - auto-enrolling users of the user set in programs, tracks, and classes.<br />
<ul>
</ul>


[[Category: ELIS]] [[Category: ELIS Admin]]
[[Category: ELIS]] [[Category: ELIS Admin|EAAd]]

Latest revision as of 22:07, 18 July 2014

Custom Field Examples

To access the Custom fields go to the Program Management block > Admin > Custom fields. From there use the tabs at the top of the page to navigate to a section and create a new field. Custom fields are added to categories, if there isn't a category on the page one will need to be added.

elis customfield input types.png

There are 6 custom field input control types:

  1. Checkbox
  2. Dropdown menu
  3. Text input
  4. Text area
  5. Password input
  6. Date/time


The control types are selected on the creating/editing screen for custom fields. The following image of this screen shows the Manual editing section of the form.

elis customfield input types2.png


Checkbox

To demonstrate the checkbox input control type I will create a custom track field. The first image shows the first section of the screen to create a custom field, the Common settings section.

The short text data type has been selected for this example. This data type enables a list to be added with a checkbox next to each value.

elis customfield checkbox.png

The following image shows the second section of the custom field creation screen, the Manual editing section. The input control type is selected here, checkbox is selected in this example. Since we are using the short text data type, we can add a list of values that will be shown when adding a track.

elis customfield checkbox2.png

This image is showing the Add Track screen with the custom field we just added.

elis customtrackfield.png


Dropdown Menu

To demonstrate the dropdown menu input control type I will create another custom track field. The name of this custom field is Track Color. In the following image I am creating the custom field, I have scrolled down near the Manual editing section.

  1. The short text data type has been selected.
  2. The dropdown menu input control type has been selected.
  3. 4 values or options have been added. I add the 'none' option for a default value, because with this setup the first option will be automatically assigned to new tracks unless edited.
elis customfield dropdown.png

The following image shows the add track screen with the new dropdown menu custom field.

elis customtrackfield menu.png


Text Input

This is an example of the text input type. I'll be creating another custom track field for this example. The following screen is showing the Common settings section for this new field.

  1. Shortname of the new custom field
  2. Name
  3. The Data type will be "long text"
elis customtrackfield textinput.png

The next image shows the manual editing section. For the input control type, Text Input has been selected from the drop down menu.

elis customtrackfield textinput2.png

Save changes and the new option is displayed on the add/edit track screens. For this field, just add the text.

elis customtrackfield textinput3.png

Text Area

This example will demonstrate the "text area" input control type. The following image is showing the setup screen for this custom field.

  1. "Long text" has been selected for the Data type.
  2. "Text area" has been selected for the Input control type
elis customtrackfield textarea.png

The following image shows the new custom field on the add/edit track screen. This Input control type enables an html editor.

elis customtrackfield textarea2.png


Password Input

The following use case will demonstrate a Password Input type profile field:

An administrator wants to assign users to user sets by sending them a password that they will enter in a survey, which updates their profile and assigns them to a user set.

First, create a custom Moodle profile field. Go to the Administration block > Users > Accounts > User profile fields. The are a couple reasons why we create a Moodle profile field first:

  1. User sets use Moodle profile fields to auto-assign users to user sets.
  2. The survey will use the Moodle profile field.
  3. Custom user fields in ELIS are created from Moodle profile fields. In this use case the custom user field in ELIS isn't necessary, but we will create it and synchronize it to copy values from Moodle anyways.


Adding the Moodle profile field:

elis passwordprofilefield.png

Create the ELIS custom user field. Go to the Program Management block > Admin > Custom Fields > User tab. Select the Moodle field that will be used to create this field.

elis customuserfield.png

Edit the settings for the new field.

elis customuserfield settings.png

Save changes when finished.

Now we will create the user set. The user set is being auto-associated with the Moodle profile field "Password Input" and the password "1234". Other user sets could be created and assigned different passwords, e.g., 12345.

elis passworduserset.png

The new profile field needs to be added to the survey. We are adding the Moodle profile field to the survey.

elis updatingsurvey.png

The administrator sends the users a password that they enter in the profile survey. In this example the password is 1234.

elis completingsurvey.png

When users enter their password in the profile survey it updates their profile, which auto-associates them with the user set. The user set could be auto-associated with programs/tracks - auto-enrolling users of the user set in programs, tracks, and classes.