This topic is locked

Expire

9/7/2010 8:52:59 PM
PHPRunner General questions
petert455 author

Hi PHP Runner staff.
Wanted to say what a fantastic application PHP Runner is.
If you could help me with one question.
I have a time/date field on the add new page that is pre-populated by now() and is read only (format is year, month, day and 00:00). I wanted the record to expire after 60mins. so the print page will show or echo a message if printed that the record is expired. How can I go about this?
Thanks in advance for any help

Sergey Kornilov admin 9/8/2010

I'm a bit unsure of how this should work.
There is an example that shows how you can change row background using events:

http://www.asprunner.com/forums/topic/6413-how-to-change-row-background-color-programmatically/
You can extend this example to check the difference between current date and record creation date and change background to red once it expired.