Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

Prompt before updating List Item

$
0
0

Hi,

I have a custom list and one of the fields is a choice field called status. If the field gets set to say "Completed" and the user tries to save the item then I want to prompt the user asking if they are sure they want to save the changes.

Currently I have an event receiver using item updating, but can't find a way to present a prompt to the user where if they click Yes the item will continue to be updated, but if they click No then the item updating will cancel.

I would have thought this would have been really easy and a common thing to do, but can't find anything on the web on how I could achieve this. Even a javascript confirm prompt would be ok but from my understanding you can't run javascript from within the event receiver.

Any ideas?

Thanks.


Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>