Overview of Appointment Forms

The default pages of an appointment form are not customizable. Because these pages provide much of the Microsoft Outlook appointment scheduling functionality, itÆs recommended that you do not hide these pages, but add additional functionality to a new page on the form.

After creating a custom appointment form, the default starting date and time for new appointments will no longer be set to the current date and time rounded to the next half hour. You can use the following sample VBScript code to restore this functionality:

Function Item_Open()
   CurrentDayTime = Now()
   CurrentDay = Int(CurrentDayTime)
   CurrentTime = CurrentDayTime - CurrentDay
   ' Round time to next half-hour
   NewTime = (Int(CurrentTime * 48) + 1) / 48
   Item.Start = CurrentDay + NewTime
End Function