How to create fields with multiple inputs