How to restrict the submission of same survey if its already submitted by the user using the link send to them in email once incident is closed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2015 03:20 AM
How to restrict the submission of same survey if its already submitted by the user using the link send to them in email once incident is closed.
The survey is created using survey wizard.
- Labels:
-
User Interface (UI)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2015 03:40 AM
If you keep a table for the survey results you can check that when the user opens the survey if they have done one already and redirect them or give them a message. This can be done with a business rule or an onload client script.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2015 03:41 AM
Or an onSubmit client script to check the existing surveys but that would be as pain for the user after filling out the form. Best to tell them before they start filling things out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2015 03:56 AM
The response will be already captured in survey_instance table right?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2015 04:08 AM
If you've recorded the survey anywhere ("survey_instance") then you can do a simple glide record call to find if the user has submitted one already.