Insert a check box
You can create a check box on your form so that users can quickly enter true or false values. Check boxes are bound to fields.
Insert a check box (automatically create the data source)
You can have Microsoft Office InfoPath 2003 automatically create the data source when you insert check boxes (as well as other controls) onto your form. If you do this, InfoPath creates a field in the data source that is bound to the check box.
- In design mode, place the insertion point where you want to insert the check box.
- If the Controls task pane is not visible, click More Controls on the Insert menu.
- In the Controls task pane, select the Automatically create data source check box.
Note If this check box is unavailable, the form's design does not allow the data source to be automatically created. You must insert a check box that is bound to an existing field or to a field that you create.
- Under Insert controls, click Check Box.
- To change the value that is stored in the data source when the check box is cleared or selected, double-click the check box that was inserted on the form, and then, in the Check Box Properties dialog box, click the values that you want in the Value when cleared
list and the Value when checked
list.
Note By default, the field that the check box is bound to contains the value FALSE when the check box is cleared and TRUE when the check box is selected.
Insert a check box (bind to an existing field)
- In design mode, place the insertion point where you want to insert the check box.
Note If you are binding the check box to a repeating field, the check box must be inside a repeating control, such as a repeating table or repeating section.
- If the Data Source task pane is not visible, click Data Source on the View menu.
- In the Data Source task pane, right-click the field that you want the check box to be bound to, and then click Check Box on the shortcut menu.
Note If Check Box is not listed on the shortcut menu, click More. If you still do not see Check Box, make sure that the data type for the field is not Rich Text (XHTML) or Picture or File Attachment (base64). You can verify this by clicking Properties on the shortcut menu.
- To change the value that is stored in the data source when the check box is cleared or selected, double-click the check box that was inserted on the form, and then, in the Check Box Properties dialog box, enter the values that you want in the Value when cleared box and the Value when checked box.
Note By default, the field that the check box is bound to contains the value FALSE when the check box is cleared and TRUE when the check box is selected.
Note The information in this topic may not apply if you are working with a form designed using Microsoft Office InfoPath 2003 without the service pack installed. Learn more