handling form's collapsible property