Database activity: Set required fields

Database activity: Set required fields

av Hugo Callens -
Antall svar: 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.

Gjennomsnittlig vurdering: -
Som svar til Hugo Callens

Re: Database activity: Set required fields

av Mary Cooch -
Bilde av Documentation writers Bilde av Moodle HQ Bilde av Particularly helpful Moodlers Bilde av Testers Bilde av Translators

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

Som svar til Mary Cooch

Re: Database activity: Set required fields

av Hugo Callens -

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

Som svar til Hugo Callens

Re: Database activity: Set required fields

av Martin Mastny -
Bilde av Core developers Bilde av Peer reviewers Bilde av 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