Undisplayed question in form updating a case property

commcare

If I have a form that has a question that is not always displayed but does update a case property, when the question is NOT displayed, does it overwrite whatever the property is with '' or an empty value? Or does the question only update the property if it is displayed?

Best Answer

If the question is not displayed, then that datum will never be sent to the server. Thus, the case property will not be updated. The property will only be written to when the question is displayed.