Database activity: Set required fields

Database activity: Set required fields

by Hugo Callens -
Number of replies: 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.

Average of ratings: -
In reply to Hugo Callens

Re: Database activity: Set required fields

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

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

In reply to Mary Cooch

Re: Database activity: Set required fields

by Hugo Callens -

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

In reply to Hugo Callens

Re: Database activity: Set required fields

by Martin Mastny -
Picture of Core developers Picture of Peer reviewers Picture of 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