Page triggers are used to change the way page data is presented to the user. In this recipe, we will use triggers to calculate a value that will be displayed in the page "on-the-fly", when a record in retrieved from the database. Besides, trigger code will update the style of text boxes depending on the data displayed in them.
To illustrate the data presentation in a page, we write page trigger code highlighting expired certificates to draw user's attention to entries demanding immediate action.
ExpirationDateof the Date type.