How do I know if a user has already seen or submitted a feedback form?

It can be helpful to know whether a visitor on your site has already seen a feedback form or has already submitted feedback. For example, sometimes you might only want to show an additional form when the visitor hasn't yet provided any feedback and a form has already been shown. Or you might want to hide the feedback button only when feedback has already been submitted.

To set up these specific conditions you need to know the status of your feedback forms. We make this information available by setting the following cookies, where <formKey> is the unique id of the form:

The value of the cookies is set to true.

The duration (lifetime) of the cookies is determined by the deployment manager condition Refresh condition settings per visitor after __ days.

 

By looking at this form key, you are able to determine which form has already been opened and/or submitted.

This article explains where you can find the form key: https://mopinion.atlassian.net/wiki/spaces/KB/pages/1302036502

The deployment code has built-in prevention for feedback forms to show automatically (triggered proactively or triggered on page leave) if the MSopened cookie is present. So you do not manually need to create a condition to prevent a form from showing

In the Mopinion deployment code, you can add the condition in the deployment code at 'Show if visitor has specific cookie'.

So in this case the form in the deployment code will only show if the other form with key 123456789abcde has already been shown.