Whole document tree
    

Whole document tree

Protection and Validation Tabs

9.4. Protection and Validation Tabs

These two tabs are used to control user's access to cells and restrict values of data allowed in a cell. Unlike other formatting options, these two tabs have no effect on a cells appearance. These options are mostly used for writing templates and forms to be filled by others.

9.4.2. Validation Tab

This tab allows you to set restrictions on allowed values of data in the cells. If you (or someone else) attempts to enter a data that does not meet the set criteria, a warning (or an error message, depending on the options set in this tab) will be shown.

This tab consists of two part. The first part, Criteria is used to set the criteria for the cell values. The second part, Error Alert, is used to choose the action when data entered does not meet the criteria.

To set the criteria for cell values, follow these steps:

After specifying the criteria, you need to specify how Gnumeric should respond to incorrect cell value. You can choose one of four possible actions from Action drop-down list:

If you choose one of the options Stop, Warning, or Information, you should enter a message that will be shown to the user in the error or warning dialog. Otherwise, gnumeric will choose a message itself, which may not clearly indicate the relevant validation criteria. You should also enter a title, which will be used as the window title for the dialog window. For example, the values shown in Figure 9-7 will produce the dialog shown in Figure 9-8.