I have a list of aircraft and would like to mark one as the active aircraft so I could do some calculations with the data. I have a switch on the static detail page where I enter the data to select the active aircraft. My question is how to make sure someone cannot click on another aircraft making two of them active? I have added a data field to the array but it would be time consuming to search all of the records for a true. Can anyone think of a better way?
Powered by WPeMatico