SeeRM Docs

Validations

Validation rules for address, phone number, email, and order name.

Overview

These rules explain how SeeRM validates common fields such as address, phone number, email, and order name.
The goal is to keep data clean and consistent across the system.

Address

Address validation is split into four parts:

  • Street: must contain at least 5 non-space characters and can include letters, numbers, spaces, _, and -
  • Zip code: must be either 1234, 12345, or 123 45
  • City: letters only, with optional spaces and -
  • Country: letters only (no numbers or spaces)

Supported address characters include Swedish, Danish, and Norwegian letters (such as å, ä, ö, ø, æ) and also é, á.

Phonenumber

Phone number validation supports Swedish, Danish, and Norwegian formats:

  • Sweden: +46 followed by 9 digits (or 46 followed by 9 digits)
  • Denmark: +45 followed by 8 digits (or 45 followed by 8 digits)
  • Norway: +47 followed by 8 digits (or 47 followed by 8 digits)

Important:

  • Only digits are allowed after country code
  • No spaces, dashes, or parentheses are allowed

Examples:

  • Valid: +46701234567, 4512345678, +4712345678
  • Invalid: 0701234567, +46 70 123 45 67, +45-12-34-56-78

Email

Email must follow this format:

Rules:

  • Must contain exactly one @
  • Must contain a domain part with a . after @
  • No spaces are allowed

Examples:

Ordername

Order name must follow these rules:

  • First character must be a letter or number
  • After the first character, letters, numbers, _, and - are allowed
  • No spaces are allowed

Supported letters for this field include å, ä, ö, é, á.

Examples:

  • Valid: Order_2026, jobb-1, Åtgärd_12
  • Invalid: _Order1, Order 1, #Order

On this page

Ask AI