Form expanded even though fields are hidden