Zeroic
10
Got it, no problem. I’m assuming that in your DB, you have one table (let’s call it Fuel In) that stores the Fuel records. Whenever the user fills out their fuel, they create a new entry for this in the DB.
Now I also assume that there’s another table in your DB (let’s call it Odometer Reading) that stores the odometer, KMs, etc different info in a record.
You can create a link between the 2 tables (preferably a field for the Odometer Reading in the Fuel In table). Whenever the user enters their odometer readings etc, you Create a new thing in the DB and Make changes to the latest Fuel In table.
On page load, you check for Fuel In tables where the Fuel In’s Odometer Reading is empty. If it is, show the popup. If there aren’t any results like this, don’t show the popup.
Let me know if this makes sense
P.S - I’m assuming that Odometer Reading is a different table since you would want to store additional info in that table (Reading, created time etc)