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



The information in this article applies to:

  • Microsoft Outlook 97

This article was previously published under Q175583

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.
  • Delete the field from the form.

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:

168975 OL97: How to Use Fields and Controls with VBScript

161924 OL97: How to Programmatically Set Textbox and CheckBox Values

167187 OL97: How to Bind a Control to the Field of Another Control

158106 OL97: Syntax to Access Controls on User-Designed Form

167240 OL97 VBScript: How to Populate a ComboBox With Your Contacts


Modification Type:MajorLast Reviewed:10/26/2000
Keywords:kbprb KB175583