I am trying to add a button to "edit settings" that would give course creators the option of setting the display of all the weeks in the course as visible. The courses are already built and have the visibility of weeks either collapsed or invisible. I have added a checkbox to the mform in course_edit. I've created a customized format based on the default. Do I need to add a database record so when the edit form submits the form values to the format it keeps track of the new button value? Even after adding the button it seems that the only values being sent are only specific values in the mform, what dictates which values are sent to the format? Thanks for the help!
Phil