custom appointment form validation

L

Leon J

I've got a custom appointment form which contains its own
validation for a user defined field. Not being a user I
was surprised to learn the many ways you can create an
appointment - one particularly tricky one being to select
a range in the calendar view and begin typing.

This always calls the validation of a field I added which
is incomplete by default, and therefore fails, informing
the user that they must complete the field. However,
adding an appointment this way doesn't launch my form so
the appointment is removed straight away.

How should I approach this? Could I launch the form
automatically, or perhaps launch a new form with only the
required fields on it for completion?

any ideas?

Leon Jollans
 
S

Sue Mosher [MVP]

You might want to put the validation in the Item_Write event handler, instead of on the field/control itself, so you can display the item and show the user which field they need to change.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.slipstick.com/books/jumpstart.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top