I am currently working with the Formal Internal Assessment module and would like to suggest or seek advice on an enhancement to the comment section available to subject teachers.
As it stands, teachers are required to manually type comments for each student during the assessment process. However, to improve efficiency and consistency, I would like to allow teachers to select from a predefined list of comments instead—via a drop-down menu—instead of typing each comment manually. Is there a way to add this feature in the report module or I would have to develop or edit the current module. If editing is required , what is the ideal approach for this?
Hi @asley, thank you for your question. Currently, Gibbon allows teachers to type comments for each individual student as the comments might vary from student to student and it allows for a more personalised feedback to the student. However, the advantage of being an open-source solution is that you can simply develop or edit the current module and update the feature to meet your needs. In your case, you can use a dropdown list instead of a textbox.
You can use the code:
$row->addSelect(‘comment’)
->fromArray([‘comment1’ => __(‘Comment 1’), ‘comment2’ => __(‘Comment 2’)]).
Hi @asley, that looks good. Please remember to fork the core repository and make all your changes within your own fork. This way, when a new version of Gibbon is released, you can easily merge the updates into your fork without overwriting your custom changes. Hope that helps!