I have searched forever to try and find an answer to this. I have a DB in Firebase and it takes information from a form and puts it into catagories base on the form number. (ex. 1 and 2) My DB is set up like this:
Form number is a subsection of the Store_ID and the name and phone are the data parsed from the form into those subsections
I have a timer set to display the data in a label on my app. So when data changes for form 1- I want the timer to start and display the information in labels. But if Data if Form 2 hasn’t changed I don’t want it to display or read that section of the DB. My problem if it’s based on Store_ID so when the data changes in the DB for Store_ID it read both sections and if one has a change it shows that info but then shows (Null) for the other form.
How can I build this to only read from the one that has changed and not from the entire Store_ID section?