I am developing a new iOS app and I need to let the user commit a search where three fields are shown.
- a group name (development, marketing etc.)
- member name
- project name
the search should be done by choosing only one or two of the three options, with these conditions:
- if group was selected you can only select project (not member)
- if member was selected, you can only select project (not group)
- if project was selected, you have an option to fill out either group or member.
I would like to accomplish that without graying out the fields. I would like to give the app a bit more intuitive and friendly UI. I was thinking more of choosing one, and somehow displaying the relevant field, and I would like the user to somehow understand that the other field is not mandatory, but optional.