Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a custome form i built from a list using SharePoint Designer. I would like a message to popup after the user has clicked the save button. I have played arounf with presaveaction but no luck. I don't want to redirect to a new page but e.g just an alert ot a jquery pop message to load. Thanks in Advance

share|improve this question

2 Answers 2

PreSaveAction should work for you, something along the lines of this:

<script type="text/javascript">
function PreSaveAction() {
 alert('Thank you for the submission');
 return true;
share|improve this answer
Nope i want the popup to appear after the record has been added. Tried that before and when i use ur code every time i click on Save button i get the alert –  naijacoder Jul 28 '11 at 0:36
For that, I think you'd need some sort of event receiver. PreSaveAction does processing before the item is committed to the database. –  PirateEric Jul 28 '11 at 11:59
Worked great for me. Thanks for providing this solution! –  user11395 Oct 16 '12 at 22:27
Thanks for answering –  users1100 Jul 10 '14 at 4:34

try the Notify object

var  notifyId = null;
function Notify(msg, sec) {
  notifyId = SP.UI.Notify.addNotification(msg, true);

  setTimeout(function () {
    notifyId = '';
  }, (sec == null ? 1500 : sec));
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.