Hearnie Posted January 11, 2016 Report Share Posted January 11, 2016 Hi Does anybody have some code to automatically email a contact noted in a data report when that report is opened? I have an accident report app that I hope will automatically email a person when their details have been viewed in the app. Any help greatly appreciated. Steve Quote Link to comment Share on other sites More sharing options...
0 ChrisCarlson Posted January 12, 2016 Report Share Posted January 12, 2016 You could add an auto submitting reports details datapage with email notification that then forwards to the displayed data report. This way an email notification is sent as the report is being opened. Just add the auto submit script below and add email notification and destination datapage. Just make sure you pass the record ID through so the final datapage displays correctly. Here is the auto submit script for a reports details datapage - add it to the footer: <script type="text/javascript"> if(document.getElementById("caspioform")) { document.getElementById("caspioform").style.display = 'none'; setTimeout('document.forms["caspioform"].submit()',1000); } </script> Quote Link to comment Share on other sites More sharing options...
Question
Hearnie
Hi
Does anybody have some code to automatically email a contact noted in a data report when that report is opened?
I have an accident report app that I hope will automatically email a person when their details have been viewed in the app.
Any help greatly appreciated.
Steve
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.