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

War es hilfreich?

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
scroll top