Form field for preferred contact preference

Is there any way to create a form field to capture the users preferred contact preference (email or text)?

Is there any way to create a form field to capture the users preferred contact preference (email or text)?