Send notifications after updating forms #1673
-
Is it possible to send a notification after a certain field has been updated?
Or another option: is it possible to programatically send a notification in my Controllers? |
Beta Was this translation helpful? Give feedback.
Answered by
engram-design
Jan 2, 2024
Replies: 1 comment 3 replies
-
It's not possible to do this at the moment, sorry. You can certainly trigger a notification to be sent on-demand: $notification = Formie::$plugin->getNotifications()->getNotificationById(123);
$submission = Submission::find()->id(123)->one();
Formie::$plugin->getSubmissions()->sendNotificationEmail($notification, $submission); See |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
kobeaerts
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's not possible to do this at the moment, sorry.
You can certainly trigger a notification to be sent on-demand:
See
formie/src/controllers/SubmissionsController.php
Line 856 in 9925889