Database activity: Set required fields Hugo Callens - 2014年10月4日 星期六 21:06 回帖数:4 Is it possible to set a field as required in a database activity?In a way that you cannot save the entry unless that field is filled in. 平均分: - 永久链接 回复 回复Hugo Callens Re: Database activity: Set required fields Mary Cooch - 2014年10月4日 星期六 23:56 It will be when Moodle 2.8 comes out in November MDL-5583 平均分: - 永久链接 显示父帖 回复 回复Mary Cooch Re: Database activity: Set required fields Hugo Callens - 2014年10月5日 星期日 00:32 So I will have to be patient thx for the info! 平均分: - 永久链接 显示父帖 回复 回复Hugo Callens Re: Database activity: Set required fields Martin Mastny - 2015年06月22日 星期一 20:05 Hi Hugo, I know it's a bit late, but you might be still interested in solution.If you modify the "add template" and delete some fields, these are then not displayed(eg. not required) when adding a new entry.|Hope this helpdMartin 平均分: - 永久链接 显示父帖 回复 回复Martin Mastny Re: Database activity: Set required fields William Lu - 2015年06月23日 星期二 08:34 Use dependent menu, you can make the 'Add entry' form acts like with compulsory fields.See more details here:https://moodle.org/mod/forum/discuss.php?d=314893#p1264489 平均分: - 永久链接 显示父帖 回复
回复Hugo Callens Re: Database activity: Set required fields Mary Cooch - 2014年10月4日 星期六 23:56 It will be when Moodle 2.8 comes out in November MDL-5583 平均分: - 永久链接 显示父帖 回复 回复Mary Cooch Re: Database activity: Set required fields Hugo Callens - 2014年10月5日 星期日 00:32 So I will have to be patient thx for the info! 平均分: - 永久链接 显示父帖 回复 回复Hugo Callens Re: Database activity: Set required fields Martin Mastny - 2015年06月22日 星期一 20:05 Hi Hugo, I know it's a bit late, but you might be still interested in solution.If you modify the "add template" and delete some fields, these are then not displayed(eg. not required) when adding a new entry.|Hope this helpdMartin 平均分: - 永久链接 显示父帖 回复 回复Martin Mastny Re: Database activity: Set required fields William Lu - 2015年06月23日 星期二 08:34 Use dependent menu, you can make the 'Add entry' form acts like with compulsory fields.See more details here:https://moodle.org/mod/forum/discuss.php?d=314893#p1264489 平均分: - 永久链接 显示父帖 回复
回复Mary Cooch Re: Database activity: Set required fields Hugo Callens - 2014年10月5日 星期日 00:32 So I will have to be patient thx for the info! 平均分: - 永久链接 显示父帖 回复 回复Hugo Callens Re: Database activity: Set required fields Martin Mastny - 2015年06月22日 星期一 20:05 Hi Hugo, I know it's a bit late, but you might be still interested in solution.If you modify the "add template" and delete some fields, these are then not displayed(eg. not required) when adding a new entry.|Hope this helpdMartin 平均分: - 永久链接 显示父帖 回复 回复Martin Mastny Re: Database activity: Set required fields William Lu - 2015年06月23日 星期二 08:34 Use dependent menu, you can make the 'Add entry' form acts like with compulsory fields.See more details here:https://moodle.org/mod/forum/discuss.php?d=314893#p1264489 平均分: - 永久链接 显示父帖 回复
回复Hugo Callens Re: Database activity: Set required fields Martin Mastny - 2015年06月22日 星期一 20:05 Hi Hugo, I know it's a bit late, but you might be still interested in solution.If you modify the "add template" and delete some fields, these are then not displayed(eg. not required) when adding a new entry.|Hope this helpdMartin 平均分: - 永久链接 显示父帖 回复 回复Martin Mastny Re: Database activity: Set required fields William Lu - 2015年06月23日 星期二 08:34 Use dependent menu, you can make the 'Add entry' form acts like with compulsory fields.See more details here:https://moodle.org/mod/forum/discuss.php?d=314893#p1264489 平均分: - 永久链接 显示父帖 回复
回复Martin Mastny Re: Database activity: Set required fields William Lu - 2015年06月23日 星期二 08:34 Use dependent menu, you can make the 'Add entry' form acts like with compulsory fields.See more details here:https://moodle.org/mod/forum/discuss.php?d=314893#p1264489 平均分: - 永久链接 显示父帖 回复