May 2018
Beginner to intermediate
452 pages
11h 26m
English
While the file saving works, the settings do not. The settings menu items should work as expected, remaining checked or unchecked, but they don't yet change the behavior of the data entry form. Let's make this work.
Recall that both autofill features are implemented in the DataRecordForm class's reset() method. To use our new settings, we need to give our form access to the settings dictionary by performing the following steps:
def __init__(self, parent, fields, settings, *args, **kwargs): super().__init__(parent, *args, **kwargs) self.settings = settings