OL97: Err Msg: A Field on this Form Requires a Value

ID: Q175583

The information in this article applies to:

SYMPTOMS

When you send or post a custom form in Microsoft Outlook 97 you may receive the message:

   A Field on this Form Requires a Value

When you click OK the control that requires input may or may not be revealed.

CAUSE

There is a custom field on the form that requires a value that was not filled in.

-or-

A control that was bound to a field requiring input may have been deleted but the field was not deleted and is still associated with the form.

RESOLUTION

Use either of these two methods to resolve the problem.

Fill in the Field that Requires Input

After you click OK, focus moves to the control that requires input; there may be more than one control on your form requiring input. Until all the controls that require input are filled in you will continue to get the error.

Delete the Field from the Form

NOTE: These steps assume you deleted the control from the form but did not delete the field.

1. Open the form. On the Tools menu, click Design Outlook Form.

2. Click the All Fields tab. Click to select the field that is no longer

   used and then click Delete.

3. Click Yes to confirm that you want to delete the field.

MORE INFORMATION

A problem is that the message doesn't indicate which field requires a value. If the same form page is displayed, the insertion point will move to the proper field, but if the field is on a different page, you may need to work through each field to find it.

Steps to Reproduce Problem

1. Open a form. On the Tools menu, click Design Outlook Form.

2. Click P.2 to open a blank page on the form.

3. In the Field Chooser, click New. Type the name of the field and click

   OK.

4. Drag the new field from the Field Chooser onto your form.

5. Right-click the text box and click Properties.

6. Click the Validation tab; then click to select the "A value is required

   for this field" check box. Click OK.

7. Click the control to select it and delete it from the form.

8. On the Tools menu, click Design Outlook form.

9. Click the Message tab and send the form to yourself.

REFERENCES

For more information on fields and controls, please see the following articles in the Microsoft Knowledge Base:

   ARTICLE-ID: Q168975
   TITLE     : OL97: How to Use Fields and Controls with VBScript

   ARTICLE-ID: Q161924
   TITLE     : OL97: How to Programmatically Set Textbox and CheckBox
               Values

   ARTICLE-ID: Q167187
   TITLE     : OL97: How to Bind a Control to the Field of Another Control

   ARTICLE-ID: Q158106
   TITLE     : OL97: Syntax to Access Controls on User-Designed Form

   ARTICLE-ID: Q167240
   TITLE     : OL97 VBScript: How to Populate a ComboBox With Your Contacts

Additional query words: OutSol OutSol97
Keywords          : FmsProb 
Version           : WINDOWS:97
Platform          : WINDOWS
Issue type        : kbprb

Last Reviewed: February 12, 1999