In my application I have a filter screen that pops up when you click on filter. On that screen I have 2 sets of category. The user has to select at least 1 button from each category for the right information to pop up in the next window. But my ok button still works even if nothing has been selected. It just give an error saying failure to load data:400. What I would like to do is disable the ok button till enough information has been selected. When enough information has been selected it should be dark colored. If enough information has not been selected it should be light colored. How can this be done? Any example would be great. Thank you
↧