You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

SofiNumberValidator


This type checks whether a social security number is valid. You can use this validation on attributes that have base type string.

Syntax

<locale>
  • locale - Specify the country code for which you want to validate the social security number, e.g. nl_NL for the Netherlands.

Examples

Assume you have added the validation type SofiNumberValidator with parameter <nl_NL> to the attribute Client.SocialSecurityNr, then

  • Client.SocialSecurityNr = “123456782” is valid;

  • Client.SocialSecurityNr = “123456789” is invalid.

Back to Top

StringLength


This type validates the length of a string value.

Syntax

<minLength><maxLength>
  • minLength - The length of the attribute value should be greater than or equal to this value.

  • maxLength - The length of the attribute value should be less than or equal to this value.

Examples


ParametersValueResult
<><5>“john”valid
<2><>“a”invalid
<4><8>“username”valid

Back to Top

  • No labels