|
[
Permalink
| « Hide
]
mert gokkaya added a comment - 22/Sep/08 03:43 AM
Could we expand this a required field tick for all fields? or an option like require all? We use database for a conduct log application. We are trying to enhance it as much as we can till we put it together as a block.
Well before having the tickbox I suspect we should implement this and I agree that it makes sense to implement it for all of the field types. I've linked this to MDL-5583 so hopefully we can make this happen. Peace - Anthony
Martin - I added you as a watcher to this just to get your thoughts on modifying adding a required field to the database_fields table. Peace - Anthony
Here is a non-functional patch but at least now we have the checkbox to select a required field and a field in the data_fields table called required to store the data. So now we can mark a field as required and I have started to do some of the work to make it show up as being a required field but have not made efforts to figure out the best way to implement it so that the actual enforcement takes place. I was playing with the idea of using mforms but not sure how that would work or not with css and the templating mechanism. In any case, I welcome any input and help with developing this functionality of being able to require a particular field. Peace - Anthony
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||