Siebel CRM Desktop for IBM Notes Administration Guide > Customizing Siebel CRM Desktop > Validating the Data That Users Enter >
Making Sure Users Enter Information in a Field
You can use validation to make sure the user enters information in a field. To make sure the user enters information in a field
- Make sure the form_validator object is defined.
For more information, see Preparing to Use Validation.
- Open IBM Domino Designer, and then open the SBL.Forms script library and then add the following code to the class that the form references:
Dim Fields As New ArrayEx("") Dim Controls As New ArrayEx("") Fields.Push "field_name" Controls.Push "control_id" vld.ValidateEmptyField Fields, Controls, "validation_message", ""
where:
Dim Fields As New ArrayEx("") Fields.Push "Name" vld.ValidateEmptyField Fields, Fields, MSG_OPPORTUNITY_NAME_REQUIRED, ""
For more information, see Opening IBM Domino Designer.
- Test your changes and then republish the customization package.
For more information, see Republishing Customization Packages.
|