Jump to content

How can I invoke a custom prompt message?

custom prompt message

  • Please log in to reply
1 reply to this topic

#1 Felipe Matos

Felipe Matos


  • Members
  • PipPip
  • 11 posts

Posted 08 January 2014 - 05:32 PM

I would like to invoke a custom message for a action.
eg. I added an action that send an e-mail of the record and I would like to show a message success after the send.
How can I do that?
Like this...
Thanks and sorry my english!


#2 marlaaragao


    Advanced Member

  • Members
  • PipPipPip
  • 32 posts

Posted 03 August 2015 - 01:59 PM



Did you, or anyone else, find a solution to this? Thanks!




Actually, I got part of what I wanted by using 'set_lang_string' funtion (http://www.grocerycr...et_lang_string.).


I send the confimation email on callback_after_insert, so the data is already in the database. But even if the email is not sent, I want a success message, but saying that the email was not sent, and the user must contact administrator. Is there a way to verify if the email was sent and change the success message?


If the email is sent the success message is that an email was sent, if not, the success message says the user was saved, but the email was not sent.


Thank you!

Also tagged with one or more of these keywords: custom, prompt, message

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users