Our IT guy is currently on leave for a period of time and they have me as a fill in. I was givin the task of making a pop up for duplicate messages. I don’t know much about writing code or using domino designer, and I was told to check out this site. Just seeing if anyone can help me out at all.
we would need a lot more info that that- duplicate messages in a database? How are the messages coming in? (mail in database, document creation, agents, etc.), are there replicas of the database on other servers?
Sorry about that. I was referring to if someone submitted a document and they accidently hit the submit button twice. I am saying this because my company is getting a lot of duplicate messages in our database. We have our own portal and within that, my co-workers can submit messages and write-ups (correctional facility). Just trying to stop duplicate messages and free up some space.
It depends as to whether you are using the client or the browser but the theory is the same.
Put a hidden field on your form and then in your submit button check for the value of this field first. If it has not been set then send an email otherwise display a message to the user. Then set the hidden field value so that if the button is pressed again then they receive the message instead of sending another email.
Whether you do this in formula(@Prompt - doesn’t work on the web) or javascript(alert - works on both) depends on whether it is a client only or web app and your knowledge You could also disable or hide the button once it is pressed but this is a bit more complicated if it is a web app.