I have a form where after submitted it redirects to another page. I would like to have a message at the top of the new page based on the query param generated by the form. How could I conditionally insert a message at the top of my page?
Example for params: /admin-dashboard/?QRAssigned=123&success=yes
On the page something like this:
If query parm success=yes then
"Congrats! you just assigned QR 123"
endif
I was thinking of storing a bunch of messages in entries then pulling them up via a view. Ideally a person could click on an x and make the message disappear. Sort of like for certain plugins they add messages to the top of the admin area.