Difference between revisions of "Validation Message"

From SmartWiki
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
The Validation Message is displayed when:
 
The Validation Message is displayed when:
* The field is set as "Mandatory," but has been left blank by the user and the record is saved.
+
* The field is set as "[[Mandatory]]," but has been left blank by the user and the record is saved.
* The field fails the [[Javascript Validation|validation condition]] that has been set on the field settings page.
+
* The field fails the [[JavaScript Validation|validation condition]] that has been set on the field settings page.
  
 
If the Validation Message is left blank:  
 
If the Validation Message is left blank:  
* "[Field Caption] can not be empty." will be displayed in a pop-up when [[mandatory]] fields are left blank.
+
* "[Field Caption] can not be empty." will be displayed in a pop-up when [[mandatory]] fields are left blank by the user.
* A blank pop-up message will display if a [[Javascript Validation|validation condition]] has been entered.
+
* A blank pop-up message will display if a [[JavaScript Validation|validation condition]] has been entered.
  
 
<!--For '''Standard Fields''' the Validation Message is displayed when the [[User|user]] has not completed a Mandatory field.
 
<!--For '''Standard Fields''' the Validation Message is displayed when the [[User|user]] has not completed a Mandatory field.
Line 14: Line 14:
 
For '''Custom Fields''' the Validation Message is displayed when the entry in the field does not comply with the statements entered in the '''JavaScript Validation''' section for the [[Custom Fields|Custom Field]], or if a mandatory field has not been completed.
 
For '''Custom Fields''' the Validation Message is displayed when the entry in the field does not comply with the statements entered in the '''JavaScript Validation''' section for the [[Custom Fields|Custom Field]], or if a mandatory field has not been completed.
 
:''The Validation Message for [[Custom Fields|Custom Fields]] can be any length. It is restricted by the size of the screen however, since pop-up windows do not allow scrolling. Some [[Browser|browsers]] may also limit the number of characters in pop-up windows.-->
 
:''The Validation Message for [[Custom Fields|Custom Fields]] can be any length. It is restricted by the size of the screen however, since pop-up windows do not allow scrolling. Some [[Browser|browsers]] may also limit the number of characters in pop-up windows.-->
 +
 +
[[Image:ValidationMessage.png|link=]]
  
 
==See Also==
 
==See Also==
 +
* [[JavaScript Validation]]
 +
* [[Server-Side Validation]]
 
* [[The Musings of Chin - Best Practice: Correct Data Formats]]
 
* [[The Musings of Chin - Best Practice: Correct Data Formats]]
  
 
[[Category:Custom Fields]][[Category:Validation]]
 
[[Category:Custom Fields]][[Category:Validation]]

Latest revision as of 14:54, 14 November 2013

The Validation Message setting in standard and custom fields is used to specify the pop-up message that is displayed to users if this field contains incorrect or missing data when the record is saved.

The Validation Message is displayed when:

  • The field is set as "Mandatory," but has been left blank by the user and the record is saved.
  • The field fails the validation condition that has been set on the field settings page.

If the Validation Message is left blank:

  • "[Field Caption] can not be empty." will be displayed in a pop-up when mandatory fields are left blank by the user.
  • A blank pop-up message will display if a validation condition has been entered.


ValidationMessage.png

See Also