Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

StringLength

This type validates the length of a string value.

Syntax

Panel
bgColorwhite

SofiNumberValidator


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

Syntax

Code Block
<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

Panel
bgColorwhite
Code Block
<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