OL2002: ErrMsg: A Field on This Form Requires a Value (291411)



The information in this article applies to:

  • Microsoft Outlook 2002

This article was previously published under Q291411

SYMPTOMS

When you send, save, or post an item that uses a custom form, 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 have the focus, or insertion point.

CAUSE

When the form was designed, one or more fields were set so that you must enter data into the fields before the item can be saved. If you are using the form, you must enter data into the appropriate field.

However, there may also be a problem with the design of the custom form. If you are the form developer, you may have set a field to require a value, but later decided not to use the field on the form. If you do not delete the field from the item, then the user will be prompted to enter data even though the field is not available on the form. This is because the validation applies to the field, not the control which is used to display the field. For additional information about the difference between fields and controls, click the article number below to view the article in the Microsoft Knowledge Base:

290655 Ol2002: Overview of Using Fields and Controls on Custom Forms

RESOLUTION

Use either of these two methods to resolve the problem.

Complete the Field that Requires Input

After you click OK, focus may move to the control that requires input. However, there may be more than one control on the form requiring input. Until all the controls that require input are completed, you will continue to get the error.

Delete the Field from the Form

NOTE: These steps assume you deleted a control from the form but did not delete the field that the control was bound to.
  1. Open the form. On the Tools menu, click Design This 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 wish to delete the field.
There may be more than one field that requires input on your form. There is no direct way to determine the field that is generating the validation message. To find the field that is creating the message, you will need to use a process of elimination. You can type a test value next to one or more of the fields on the All Fields page of the form, and then test the form. If you have many fields to test, you may wish to set values in half of the fields, test the form, and then repeat the process until you can determine which fields are generating the message.

MORE INFORMATION

REFERENCES

For additional information about available resources and answersto commonly asked questions about Microsoft Outlook solutions, click the article number below to view the article in the Microsoft Knowledge Base:

287530 OL2002: Questions About Custom Forms and Outlook Solutions


Modification Type:MinorLast Reviewed:2/26/2004
Keywords:kbprb KB291411