Adding Database Fields
Margarita Berezyanskaya
Last Update vor 2 Monaten
(1) see a list of entries,
(2) look at the entries one at a time,
(3) find specific entries in the Database,
(4) add new entries,
(5) create Excel or OpenOffice spreadsheet files for use in/outside of the online course,
(6) edit the various Templates to change the appearance on each tab,
(7) create/choose/edit the Fields for the Database, and
(8) access/create Presets for the Database. There is also a
(9) Create a new field drop-down menu, and
(10) drop-down choices for the Default sort field.
Important Note: Before you begin to add new Fields to a Database, be sure to have a list of the Fields you want to create, and a plan for the appearance of the Add entry template that students will use to add their entries. Adding the Fields in the order you want them to appear for students will save you a lot of time in the following steps.
4. Clicking on Checkbox will open the Checkbox field page. Type the Field name that will appear for students on the Add entry and other tabs in the Database.
5. Type the Field description, this text will appear to students if they hover their mouse over the Checkbox field options in the form on the Add entry tab.
At this point, you can view the new Field by clicking on the Add entry tab. The options appear as Checkbox fields for students to choose one or more.
10. Click on the Fields tab to create another field. Click on the Create a new field drop-down menu to select the next Field for the new Database.
Selecting the Date field will open a new page.
Type the Field name that will appear for students on the Add entry and other tabs in the Database.
12. When the Date field has been added, click on the Add entry tab to view the new addition to the Database, or continue creating new Fields.
The image below shows the Checkbox field and the new Date
field that has been added using the Add entry tab.13. Click on the Fields tab again to create another field. Click on the Create a new field drop-down menu to select the next Field for the new Database.
Selecting the File field will open a new page.
Type the Field name that will appear for students on the Add entry and other tabs in the Database.
Note: If a larger Maximum size is required, the Course upload limit can be changed by going to the Administration block and selecting Edit settings under Course administration on your course page.
When this is done, click on the Add button to create the File field.
At this point, you can view the new File field by clicking on the Add entry tab.
Type the Field name that will appear for students on the Add entry and other tabs in the Database.
Type the Field description. This text will appear to students if they hover their mouse over the Latlong field in the form on the Add entry tab.
Important Note: If you plan to use the Latlong field in your Database, students will need skill-building/assistance finding latitude and longitude coordinates for a particular location online (for example: 45.423609, -75.700940). See the Help links below for more detail on the Latlong field.
Type the Field name that will appear for students on the Add entry and other tabs in the Database.
At this point, you can view the new Menu Field by clicking on the Add entry tab.
Selecting the Multimenu field will open the Multiple-selection menu field page.
At this point, you can view the new Multimenu Field if you like by clicking on the Add entry tab.
Important Note: Students must use the Ctrl or Shift keys to make multiple selections from the menu options on the Add entry tab. They may need skill-building and assistance to use the Multimenu field.
Selecting the Number field will open the Number field page.
Type the Field name that will appear for students on the Add entry and other tabs in the Database.
Type the Field description, this text will appear to students if they hover their mouse over the Number field in the form on the Add entry tab.
Check the box close to Required field if responding to this Field is mandatory.
When this is done, click on the Add button to create the Number field. At this point, you can view the new Number field by clicking on the Add entry tab.
18. Click on the Fields tab again to create another field. Click on the Create a new field drop-down menu to select the next Field for the new Database.
Selecting the Picture field will open the Picture field page.
Type the Field name that will appear for students on the Add entry and other tabs in the Database.
Note: If a larger Maximum size is required, the Course upload limit can be changed by going to the Administration block and selecting Edit settings under Course administration on your course page.
19. Click on the Fields tab again to create another field. Click on the Create a new field drop-down menu to select the next Field for the new Database.
Selecting the Radio button field will open the Radio button field
page.Type the Field name that will appear for students on the Add entry and other tabs in the Database.
20. Click on the Fields tab again to create another field. Click on the Create a new field drop-down menu to select the next Field for the new Database.
Selecting the Text area field will open the Text area field page. Students can type larger amounts of text in the Text area field than in the Text input field (see below).
At this point, you can view the new Text area field by clicking on the Add entry tab.
Check the box close to Required field if responding to this Field is mandatory.
Note: Autolinking is a feature of Moodle that words or phrases used within a course are automatically linked to a glossary and database entries. If the database or glossary terms appear in your course, the students can click on them to see the definition or database entry related to that term.
Type the Field name that will appear for students on the Add entry and other tabs in the Database.
Type the Field description, this text will appear to students if they hover their mouse over the URL field in the form on the Add entry tab.
Check the Autolink the URL checkbox if you want the hyperlink to be clickable. Check the Open link in new window checkbox to have students retain the Database activity page when the hyperlink opens. Check the box close to Required field if responding to this Field is mandatory. Add text to the Forced name for the link field if you want all entries to show the same text for the hyperlink in the URL field.
Note: Fields in the example Test Database activity were created solely for this article and are not meant to make sense together in a rational way, but rather to demonstrate the many possible Fields to choose from in the Database activity module.
Resources