Now the fields are pulled enabled or disabled, depending on the preferences of the problem generating mathematica code