我如何在 Moodle 作业插件中添加自定义字段?

How can i add custom fields in moodle assignment plugin?

如何用学习者必须完成的几个自定义表单字段(自由文本、drop-down、复选框)替换 "online text" 编辑器?

您将需要创建一个自定义作业提交插件 https://docs.moodle.org/dev/Assign_submission_plugins (or find an existing plugin that does what you want - https://moodle.org/plugins/browse.php?list=category&id=42)。