Difference between revisions of "Validation Message"

From SmartWiki
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
The Validation Message field is used to specify the pop-up message that is displayed to [[User|users]] if they input invalid information into a field.
+
The Validation Message setting in [[standard fields|standard]] and [[custom fields]] is used to specify the pop-up message that is displayed to [[User|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 [[JavaScript Validation|validation condition]] that has been set on the field settings page.
  
For '''Standard Fields''' the Validation Message is displayed when the [[User|user]] has not completed a Mandatory field.
+
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 [[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.
 
:''The Validation Message on Standard Fields can be up to 255 characters in length.''
 
:''The Validation Message on Standard Fields can be up to 255 characters in length.''
  
 +
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.-->
 +
 +
[[Image:ValidationMessage.png|link=]]
  
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.
+
==See Also==
:''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.
+
* [[JavaScript Validation]]
 +
* [[Server-Side Validation]]
 +
* [[The Musings of Chin - Best Practice: Correct Data Formats]]
  
[[Category:Custom Fields]]
+
[[Category:Custom Fields]][[Category:Validation]]

Latest revision as of 13: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