I currently have an advanced search page that searches a number of fields in my database. It has several textboxes that all search different fields, the user has the option to leave textboxes blank and they will be ignored from the search.
The problem is I now want to add to this to also search some of my BIT fields, my original idea was to use checkboxes for this. the problem I have is that I now realise I need 3 states N/A, True, False as the user needs the ability not to search on this field. The only real idea I have is something like a dropdown or radio list with these 3 options in. However there could end up being 5+ inputs searching BIT fields and I'm not sure if this would get messy. I remember when I used to develop windows apps a checkbox could also have a null/not selected state I'm not sure if there is any alternative for the web? I didn't really want to have to right a custom control if anything exists?
I just wondered if anyone had any suggestions as to how they would design this.
Thanks