How to prevent a collapsed section from being submitted?