سؤال

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

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى sharepoint.stackexchange
scroll top