![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I have created a custom form (email) with a few lines of validation code for
the text boxes, but i need to prevent the form being sent if the validation fails. What is the easiest way to do that? I need to distribute this form in the organisational forms library. all sugestions welcome! |
Ads |
#2
|
|||
|
|||
![]()
Put code in the Item_Send event handler:
Function Item_Send() If your criteria are not met Then Item_Send = False End If End Function -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "A Reno" wrote in message ... I have created a custom form (email) with a few lines of validation code for the text boxes, but i need to prevent the form being sent if the validation fails. What is the easiest way to do that? I need to distribute this form in the organisational forms library. all sugestions welcome! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Redemption Trapping a Condition or a Setting | bobdydd | Outlook - General Queries | 3 | June 2nd 06 03:55 PM |
Redemption Trapping a Condition or a Setting | bobdydd | Outlook and VBA | 3 | June 2nd 06 03:55 PM |
Send.item ? | mrrcomp | Outlook and VBA | 2 | February 2nd 06 04:38 PM |
Restricted from showing active content. How to overide for loca files? | Guillermo Scharffenorth | Outlook Express | 1 | February 1st 06 10:23 PM |
A program is trying to send mail using Item.Send | Vitesh | Outlook and VBA | 1 | January 23rd 06 03:25 PM |