• Jules Faligot 9
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 5
    Replies
Hi All,

I am trying to add a confirmation pop up to the standard chatter action "Send Email" in the case feed based layout.
I have replaced the standard send email button by my button but am not able to wait for confirmation before the email is actually sent.
User-added image
My button executes the following Javascript: confirm("Are you sure you want to send this email?");

Do you know how I could force the user to confirm before the email is sent?

Thanks a lot for your help!

Jules
 
Hi All,

I am trying to add a confirmation pop up to the standard chatter action "Send Email" in the case feed based layout.
I have replaced the standard send email button by my button but am not able to wait for confirmation before the email is actually sent.
User-added image
My button executes the following Javascript: confirm("Are you sure you want to send this email?");

Do you know how I could force the user to confirm before the email is sent?

Thanks a lot for your help!

Jules
 
I need to mimic an HTML POST form submission and redirect to the same page (non-Visualforce).  Is this possible using PageReference?  the form submission has to be a POST and I don't see any methods on PageReference for setting the  request body.