08.08.2017 Views

designer

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Using Column Validation 81<br />

5. Click OK.<br />

The Column Editor dialog box closes, and a new column named NewColumn1, of<br />

type Calculated, appears in the workspace.<br />

6. Click NewColumn1 to highlight the text, type Total, and then press ENTER.<br />

The column NewColumn1 is renamed to Total.<br />

7. Right-click the Sales tab, and then click Save.<br />

CLEAN UP Leave SharePoint Designer open if you are continuing to the next<br />

exercise.<br />

Using Column Validation<br />

By using the correct column types and setting properites such as minimum and maxium<br />

values, you can be sure your users enter data correctly. To further aid the integrity of<br />

data entered in your lists and libraries, SharePoint 2010 added new functionality for list<br />

and column validation. When a user enters data that fails the validation check, you can<br />

display a default validation error message or provide your own error messages. In the<br />

previous version of SharePoint, such validation and customized error messages were only<br />

available by customizing the data entry Web pages and using client-side scripting languages<br />

such as JavaScript or JQuery.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!