how to check if user has already responded to a survey using JSOM/Javascript
-
16-12-2020 - |
Frage
How can I check if the current user has already responded using JSOM/Javascript or jquery?
I checked this answer but it is not in javascript
Lösung
Add a (hidden) ListView WebPart to the page displaying all Survey Items filtered on [ME]
If the View is empty the user hasn't responded yet.
Takes Client Side Rendering with 3 lines of JavaScript in the OnPostRender method
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit sharepoint.stackexchange