Custom Fields Overview for Moodle

Search our Help Articles

Custom Fields can be created to add additional setting for your product or session that will be displayed on the Details page. When a custom field is created, you'll be able to add this setting to the product or session. Find instructions for creating custom fields and setting them up below.

NOTE: Custom Fields for products and session will be created separately (product custom fields for products, session custom fields for sessions). If you want the same field for product and for session, you'll need to create it twice.

To create a custom field:

  1. FOR PRODUCTS: From the Products tab click on Manage custom fields button at the top, then click on Add new button.

    image-20240514-140314.png

  2. FOR SESSIONS: From the Products tab click on Sessions action for the needed product, then click on Manage custom fields button at the top, and select Add new button.

    image-20240514-140350.png

     

  3. Add the title of the new custom field, select its type, indicate whether it's required or not, and add an icon (optional).
    NOTE: Icons should be in the format "fa-[icon_name]", where [icon_name] should be replayed with any icon name you wish. The list of possible icons could be found HERE. E.g., you could put "fa-clock-o" here and a clock icon will be displayed for this field on product details page.

     

  4. Click on Save after making settings.

    NOTE: Find descriptions of types after the table below.

  5. Custom fields will be displayed in a table, where you can see their names and types as well as manipulate them via Actions column (hide, edit, delete or move).
    NOTE: Hiding will suspend displaying this field on the product's Details page (for products) or session's details (for sessions).

    NOTE: When you create custom fields, they will appear on the product or session creation page as an Additional Fields drop-down, where you can manipulate your data, too.

Custom Field Types Overview

NOTE: This overview describes all possible types and their view that could be created above. You should create a field using instructions above, and when you navigate to the product editing page, they will appear under the Additional Fields drop-down.

  1. Text - This field type allows you to add any text into the small line box.

  2. Select - Add options to the Field values box (one option per line) to create a custom field with a drop-down list for selecting ONE option.

     

  3. Multiselect - Add options to the Field values box (one option per line -- as well as the Select type above) to create a custom field with a drop-down list for selecting MULTIPLE options.

  4. Checkbox - This field type allows you to enable/disable some additional points for the product or session. It'll display YES if you enable this field on the product creation page, and NO if you disable this.

  5. Text Area - This field type allows you to add any text into the large multi-line box.

  6. Date - Enable this field to be able to select the specific date you want.

  7. Date and Time

    Enable this field to be able to select the specific date and time you want.

 

 

 

 

 

Frequently Asked Questions:

Â