This topic is locked

Alerts when due date is coming

2/20/2012 11:57:38 AM
PHPRunner General questions
Z
zeth385 author

Hi, everyone!

I have a field were users add a due date. I want to display an alert (a pop up would be great) with the due dates coming on the list page. I think it can be done using Java... The alert must have the name of the record, and the due date, i.e:
"The 'record_name' will expire on 'due_date'" , or something like: "You have 7 due dates coming", and a list of the 7 due dates.
I don't know if I can also add an alert on Outlook 2007.
Please help!!!!
Thanks in Advance.

Sergey Kornilov admin 2/20/2012
Z
zeth385 author 2/20/2012



Check this article for inspiration:

http://www.asprunner...timely-fashion/


Hi!!!

Well this works fine...!!! Thanks!!!!
Now I need an alert to popup when the user enters to the List page. I was thinking to add an event on the JavaScript OnLoad Event Page... but the thing is that I have no clue on how to do this. The script has to check which due dates are coming, based on a date field... in a way it's similar to the code you send me... but now in Java...
Thanks..!!

Sergey Kornilov admin 2/20/2012

You can implement this as a PHP code snippet where you can perform your calculations, build a message and then display it using Javascript. Something along the lines of

echo "<script>alert('My message here')</script>";