Rico
09-12-2005, 11:47 AM
Hi all
I am working on a small outlook form, and I would like Outlook to validate if a specific textbox are empty or not when the user presses on the Send button.
I tried to use the validation under properties for the textbox, but it doesn?t set focus on the textbox that is empty, it just says that something is missing.
I like code to do something like this when the ?Item_Send? is used
if textbox1.value="" then
msgbox bla.
textbox1.setfocus
end if
I am totally new in creating customs form with VBS, so any help is fine
Regards Rico
I am working on a small outlook form, and I would like Outlook to validate if a specific textbox are empty or not when the user presses on the Send button.
I tried to use the validation under properties for the textbox, but it doesn?t set focus on the textbox that is empty, it just says that something is missing.
I like code to do something like this when the ?Item_Send? is used
if textbox1.value="" then
msgbox bla.
textbox1.setfocus
end if
I am totally new in creating customs form with VBS, so any help is fine
Regards Rico