Choice FAQ

From MoodleDocs


How can I enable users to participate in a front page choice activity?

To enable logged-in users to participate in a front page choice activity:

  1. Click the edit icon of the Choice
  2. In the Settings block for the Choice, click Permissions
  3. From the dropdown Advanced role override, choose "authenticated user"
  4. Set the capability mod/choice:choose to allow
  5. Click the 'Save changes' button

Can I allow users to make more than one choice?

Yes, since Moodle 2.8. See Choice settings.

Can I offer users just one option to select?

Yes!

Can I use images or other file types as choice options instead of text?

Yes. To do this, first upload your images or sound files (mp3) or video files to the internet.

  1. Copy the URL (web address) of the files you want to display.
  2. Paste it into a text editor like notepad (This is not essential but makes it easier to add the code)
  3. To display an image, add this code either side of your image URL:

<img src="YOUR_IMAGE_.jpg">

  1. To display a sound or video file -first ensure your site admin has multimedia plugins/filters enabled
  2. Add this code either side of your sound or video file:

<a href="YOUR_SOUND_FILE.mp3"></a>

  1. Set up your choice as normal and in the options boxes, paste the relevant code+URL.

Beware! Double check before you paste - any extra or missing space or bit of code and it won't work.

See also

Moodle forum discussions: