I have two tables. One produces and logs messages “Notification Log”. The other produces and logs responses “Response Log”. The problem i have is getting one view to stop showing a button “Got the message” after a response log is generated.
I have a form “new message” that logs in the “notification Log” table.
I have users viewing this list of messages - from the notifications log table. The use clicks a button “Got the message” to let the admin know they received the message.
The problem i have is, i cannot figure out how to make that action button do several things:
- Add the appropriate useremail, message, date to the “Response Log” ( I have this working)
- Take away this message in the list - because they clicked "Got the message (This part i cannot seem to get).