Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Force.com Application Development
  • Table Of Contents Toc
  • Feedback & Rating feedback
Learning Force.com Application Development

Learning Force.com Application Development

By : Madusanka
4.3 (4)
close
Learning Force.com Application Development

Learning Force.com Application Development

4.3 (4)
By: Madusanka

Overview of this book

If you are a developer who wants to learn how to develop and deploy applications from the Salesforce.com platform, then this book is for you. No prior knowledge of Salesforce is necessary.
Table of Contents (15 chapters)
close
14
Index

Preserving data quality with validation rules

Validations are common in any application. Suppose, the user has to enter a date value in a particular field. However, this date must be a future date. You have to validate the particular field. In the Force.com platform, the validation rules are there to fulfill your validation requirement.

The validation rules verify the user input data in a record against the criteria you define in the formula or the expression of the validation rule. A validation rule is associated with an object field. When a record is created or updated, the particular validation rules are executed. Define a validation rule by specifying an error condition and a corresponding error message. The error condition is written as a Boolean formula expression that returns true or false. When the formula expression returns true, the save will be aborted and the error message will be displayed. The user can correct the error and try again.

Note

The Force.com platform has some default...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete