A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Validation



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 22nd 06, 03:28 PM posted to microsoft.public.outlook.program_forms
~KO
external usenet poster
 
Posts: 13
Default Validation

Outlook 2000

Properties / Validation on a field

I checked "Validate this field before closing form."

The Validation Formula is [Amount]

For "Display this message if validation fails:" - "Enter Amount."

The message does not display if field is empty and the form can be sent.

I do not have the "A value is required for this field" checked because if it
is checked, a message displays "A field on this form requires a value." It
does not tell me which field.

Thanks for your help and direction!
Ads
  #2  
Old February 22nd 06, 03:47 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Validation

A validation formula must return True or False. I doubt that Amount is a Yes/Not field, so [Amount] would not be a valid validation formula. Maybe what you want to use is:

[Amount] 0

--
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


"~KO" wrote in message ...
Outlook 2000

Properties / Validation on a field

I checked "Validate this field before closing form."

The Validation Formula is [Amount]

For "Display this message if validation fails:" - "Enter Amount."

The message does not display if field is empty and the form can be sent.

I do not have the "A value is required for this field" checked because if it
is checked, a message displays "A field on this form requires a value." It
does not tell me which field.

Thanks for your help and direction!

  #3  
Old February 22nd 06, 06:32 PM posted to microsoft.public.outlook.program_forms
~KO
external usenet poster
 
Posts: 13
Default Validation

You Rock Sue! Thank you so much for your quick and accurate response!

"Sue Mosher [MVP-Outlook]" wrote:

A validation formula must return True or False. I doubt that Amount is a Yes/Not field, so [Amount] would not be a valid validation formula. Maybe what you want to use is:

[Amount] 0

--
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


"~KO" wrote in message ...
Outlook 2000

Properties / Validation on a field

I checked "Validate this field before closing form."

The Validation Formula is [Amount]

For "Display this message if validation fails:" - "Enter Amount."

The message does not display if field is empty and the form can be sent.

I do not have the "A value is required for this field" checked because if it
is checked, a message displays "A field on this form requires a value." It
does not tell me which field.

Thanks for your help and direction!


  #4  
Old February 22nd 06, 07:01 PM posted to microsoft.public.outlook.program_forms
~KO
external usenet poster
 
Posts: 13
Default Validation

There's always something else that crops up. The field works great if the
user was meant to put something in the amount, but there are times when they
do not have to fill it out. I tried to input 0.00 and it would not recognize
it as an amount. If I left the form set up this way, I would have to instruct
the user to input .01 if they did not have an amount to enter. Any ideas?
thanks!

"~KO" wrote:

You Rock Sue! Thank you so much for your quick and accurate response!

"Sue Mosher [MVP-Outlook]" wrote:

A validation formula must return True or False. I doubt that Amount is a Yes/Not field, so [Amount] would not be a valid validation formula. Maybe what you want to use is:

[Amount] 0

--
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


"~KO" wrote in message ...
Outlook 2000

Properties / Validation on a field

I checked "Validate this field before closing form."

The Validation Formula is [Amount]

For "Display this message if validation fails:" - "Enter Amount."

The message does not display if field is empty and the form can be sent.

I do not have the "A value is required for this field" checked because if it
is checked, a message displays "A field on this form requires a value." It
does not tell me which field.

Thanks for your help and direction!


  #5  
Old February 22nd 06, 07:24 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Validation

So, what's the business logic at work here? Tell us in English; don't worry about the code. Under what conditions would a value there not be necessary?

--
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


"~KO" wrote in message ...
There's always something else that crops up. The field works great if the
user was meant to put something in the amount, but there are times when they
do not have to fill it out. I tried to input 0.00 and it would not recognize
it as an amount. If I left the form set up this way, I would have to instruct
the user to input .01 if they did not have an amount to enter. Any ideas?
thanks!

"~KO" wrote:

You Rock Sue! Thank you so much for your quick and accurate response!

"Sue Mosher [MVP-Outlook]" wrote:

A validation formula must return True or False. I doubt that Amount is a Yes/Not field, so [Amount] would not be a valid validation formula. Maybe what you want to use is:

[Amount] 0

--
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


"~KO" wrote in message ...
Outlook 2000

Properties / Validation on a field

I checked "Validate this field before closing form."

The Validation Formula is [Amount]

For "Display this message if validation fails:" - "Enter Amount."

The message does not display if field is empty and the form can be sent.

I do not have the "A value is required for this field" checked because if it
is checked, a message displays "A field on this form requires a value." It
does not tell me which field.

Thanks for your help and direction!

  #6  
Old February 22nd 06, 07:38 PM posted to microsoft.public.outlook.program_forms
~KO
external usenet poster
 
Posts: 13
Default Validation

The user wants a message to display "Are you sure you want to leave the
Amount field blank?" So I guess the logic is that it is just to be a popup
reminder to see if the field should have an amount entered.

"Sue Mosher [MVP-Outlook]" wrote:

So, what's the business logic at work here? Tell us in English; don't worry about the code. Under what conditions would a value there not be necessary?

--
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


"~KO" wrote in message ...
There's always something else that crops up. The field works great if the
user was meant to put something in the amount, but there are times when they
do not have to fill it out. I tried to input 0.00 and it would not recognize
it as an amount. If I left the form set up this way, I would have to instruct
the user to input .01 if they did not have an amount to enter. Any ideas?
thanks!

"~KO" wrote:

You Rock Sue! Thank you so much for your quick and accurate response!

"Sue Mosher [MVP-Outlook]" wrote:

A validation formula must return True or False. I doubt that Amount is a Yes/Not field, so [Amount] would not be a valid validation formula. Maybe what you want to use is:

[Amount] 0

--
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


"~KO" wrote in message ...
Outlook 2000

Properties / Validation on a field

I checked "Validate this field before closing form."

The Validation Formula is [Amount]

For "Display this message if validation fails:" - "Enter Amount."

The message does not display if field is empty and the form can be sent.

I do not have the "A value is required for this field" checked because if it
is checked, a message displays "A field on this form requires a value." It
does not tell me which field.

Thanks for your help and direction!


  #7  
Old February 22nd 06, 07:48 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Validation

That's not what I asked. You said, "There are times when they do not have to fill it out." What are those times? Maybe the underlying logic can be built into the form.

--
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


"~KO" wrote in message ...
The user wants a message to display "Are you sure you want to leave the
Amount field blank?" So I guess the logic is that it is just to be a popup
reminder to see if the field should have an amount entered.

"Sue Mosher [MVP-Outlook]" wrote:

So, what's the business logic at work here? Tell us in English; don't worry about the code. Under what conditions would a value there not be necessary?

"~KO" wrote in message ...
There's always something else that crops up. The field works great if the
user was meant to put something in the amount, but there are times when they
do not have to fill it out. I tried to input 0.00 and it would not recognize
it as an amount. If I left the form set up this way, I would have to instruct
the user to input .01 if they did not have an amount to enter. Any ideas?
thanks!

"~KO" wrote:

You Rock Sue! Thank you so much for your quick and accurate response!

"Sue Mosher [MVP-Outlook]" wrote:

A validation formula must return True or False. I doubt that Amount is a Yes/Not field, so [Amount] would not be a valid validation formula. Maybe what you want to use is:

[Amount] 0

--
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


"~KO" wrote in message ...
Outlook 2000

Properties / Validation on a field

I checked "Validate this field before closing form."

The Validation Formula is [Amount]

For "Display this message if validation fails:" - "Enter Amount."

The message does not display if field is empty and the form can be sent.

I do not have the "A value is required for this field" checked because if it
is checked, a message displays "A field on this form requires a value." It
does not tell me which field.

Thanks for your help and direction!


  #8  
Old February 22nd 06, 08:17 PM posted to microsoft.public.outlook.program_forms
~KO
external usenet poster
 
Posts: 13
Default Validation

I think we are going to solve the issue with this text to display in the popup:

“Are you sure you do not need an Amount? If no amount is to be entered,
please input .01 into the Amount field in order to send the form on.”

Thanks, I'm going to read all the hits I get on validation (I know I should
have done this first).

"~KO" wrote:

The user wants a message to display "Are you sure you want to leave the
Amount field blank?" So I guess the logic is that it is just to be a popup
reminder to see if the field should have an amount entered.

"Sue Mosher [MVP-Outlook]" wrote:

So, what's the business logic at work here? Tell us in English; don't worry about the code. Under what conditions would a value there not be necessary?

--
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


"~KO" wrote in message ...
There's always something else that crops up. The field works great if the
user was meant to put something in the amount, but there are times when they
do not have to fill it out. I tried to input 0.00 and it would not recognize
it as an amount. If I left the form set up this way, I would have to instruct
the user to input .01 if they did not have an amount to enter. Any ideas?
thanks!

"~KO" wrote:

You Rock Sue! Thank you so much for your quick and accurate response!

"Sue Mosher [MVP-Outlook]" wrote:

A validation formula must return True or False. I doubt that Amount is a Yes/Not field, so [Amount] would not be a valid validation formula. Maybe what you want to use is:

[Amount] 0

--
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


"~KO" wrote in message ...
Outlook 2000

Properties / Validation on a field

I checked "Validate this field before closing form."

The Validation Formula is [Amount]

For "Display this message if validation fails:" - "Enter Amount."

The message does not display if field is empty and the form can be sent.

I do not have the "A value is required for this field" checked because if it
is checked, a message displays "A field on this form requires a value." It
does not tell me which field.

Thanks for your help and direction!


  #9  
Old February 22nd 06, 08:42 PM posted to microsoft.public.outlook.program_forms
~KO
external usenet poster
 
Posts: 13
Default Validation

Sorry, long day. The only reason they would not have to fill out the amount
is if they did not have it available to them at the time they are sending the
form.

"Sue Mosher [MVP-Outlook]" wrote:

That's not what I asked. You said, "There are times when they do not have to fill it out." What are those times? Maybe the underlying logic can be built into the form.

--
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


"~KO" wrote in message ...
The user wants a message to display "Are you sure you want to leave the
Amount field blank?" So I guess the logic is that it is just to be a popup
reminder to see if the field should have an amount entered.

"Sue Mosher [MVP-Outlook]" wrote:

So, what's the business logic at work here? Tell us in English; don't worry about the code. Under what conditions would a value there not be necessary?

"~KO" wrote in message ...
There's always something else that crops up. The field works great if the
user was meant to put something in the amount, but there are times when they
do not have to fill it out. I tried to input 0.00 and it would not recognize
it as an amount. If I left the form set up this way, I would have to instruct
the user to input .01 if they did not have an amount to enter. Any ideas?
thanks!

"~KO" wrote:

You Rock Sue! Thank you so much for your quick and accurate response!

"Sue Mosher [MVP-Outlook]" wrote:

A validation formula must return True or False. I doubt that Amount is a Yes/Not field, so [Amount] would not be a valid validation formula. Maybe what you want to use is:

[Amount] 0

--
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


"~KO" wrote in message ...
Outlook 2000

Properties / Validation on a field

I checked "Validate this field before closing form."

The Validation Formula is [Amount]

For "Display this message if validation fails:" - "Enter Amount."

The message does not display if field is empty and the form can be sent.

I do not have the "A value is required for this field" checked because if it
is checked, a message displays "A field on this form requires a value." It
does not tell me which field.

Thanks for your help and direction!



  #10  
Old February 22nd 06, 08:51 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Validation

Then, the right way to do it would be to add a Yes/No field and associated checkbox to the form (call the field NoInfo) and have users check that box if they don't have the information. In that scenario, your validation formula would capture both options -- either checking the box or filling out the value:

([Amount] 0) OR ([NoInfo] = True)


--
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


"~KO" wrote in message ...
Sorry, long day. The only reason they would not have to fill out the amount
is if they did not have it available to them at the time they are sending the
form.

"Sue Mosher [MVP-Outlook]" wrote:

That's not what I asked. You said, "There are times when they do not have to fill it out." What are those times? Maybe the underlying logic can be built into the form.

"~KO" wrote in message ...
The user wants a message to display "Are you sure you want to leave the
Amount field blank?" So I guess the logic is that it is just to be a popup
reminder to see if the field should have an amount entered.

"Sue Mosher [MVP-Outlook]" wrote:

So, what's the business logic at work here? Tell us in English; don't worry about the code. Under what conditions would a value there not be necessary?

"~KO" wrote in message ...
There's always something else that crops up. The field works great if the
user was meant to put something in the amount, but there are times when they
do not have to fill it out. I tried to input 0.00 and it would not recognize
it as an amount. If I left the form set up this way, I would have to instruct
the user to input .01 if they did not have an amount to enter. Any ideas?
thanks!

"~KO" wrote:

You Rock Sue! Thank you so much for your quick and accurate response!

"Sue Mosher [MVP-Outlook]" wrote:

A validation formula must return True or False. I doubt that Amount is a Yes/Not field, so [Amount] would not be a valid validation formula. Maybe what you want to use is:

[Amount] 0

--
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


"~KO" wrote in message ...
Outlook 2000

Properties / Validation on a field

I checked "Validate this field before closing form."

The Validation Formula is [Amount]

For "Display this message if validation fails:" - "Enter Amount."

The message does not display if field is empty and the form can be sent.

I do not have the "A value is required for this field" checked because if it
is checked, a message displays "A field on this form requires a value." It
does not tell me which field.

Thanks for your help and direction!



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a validation formula Sue Mosher [MVP-Outlook] Outlook - Using Forms 0 January 20th 06 05:26 PM
Help! Cannot disable validation rule. Chaplain Doug Outlook - Using Forms 2 January 19th 06 12:50 AM


All times are GMT +1. The time now is 09:05 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright 2004-2025 Outlook Banter.
The comments are property of their posters.