Disable memory field if the box is unchecked