My first App (a Safety Management System) is pretty much built and whilst there are a couple of stubborn UI/UX niggles the final hurdle for me is implementing application logic.
So for example if a user marks a safety issue as ‘Closed’ I want them to be informed this will close the child records for hazards, risk controls etc. I want to then obviously go and update the status of these records to Closed also.
There could be other things like you can’t create a date on a risk control which predates the creation date on its parent hazard. In fact as I work through the application there will be a fair amount of this type of logic check.
My initial thoughts were that I would have to create a load of popups with the custom ‘error’ messages in but this seems like it will be a headache!! Also, if I need the check to be carried out on change of a specific item (which would be best) how would I implement this?
If there are any best practice approches for this type of thing I would be grateful!!