⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

How can I invoke a custom prompt message?



Felipe Matos

Felipe Matos
  • profile picture
  • Member

Posted 08 January 2014 - 17:32 PM

Hi,
 
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...
PeCiX.jpg
 
Thanks and sorry my english!

 


marlaaragao

marlaaragao
  • profile picture
  • Member

Posted 03 August 2015 - 13:59 PM

Hello!

 

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

 

Edit:

 

Actually, I got part of what I wanted by using 'set_lang_string' funtion (http://www.grocerycrud.com/documentation/options_functions/set_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!