Database activity: Set required fields

Database activity: Set required fields

Hugo Callens -
回帖数: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 -
Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像

It will be when Moodle 2.8 comes out in November MDL-5583

回复Mary Cooch

Re: Database activity: Set required fields

Hugo Callens -

So I will have to be patient 眨眼 thx for the info!

回复Hugo Callens

Re: Database activity: Set required fields

Martin Mastny -
Core developers的头像 Peer reviewers的头像 Testers的头像

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 helpd

Martin