How to create selection groups using smart forms