Sidemark Requirement & Format Validation

Sidemark Requirement & Format Validation

Overview

Focus 2 includes a feature that allows administrators to require a sidemark on new quotes, sales, or both. When enabled, this feature ensures that every quote or sale includes a meaningful identifier entered by the user.

Administrators can also enforce that sidemarks follow a specific format. This is done using regular expressions, which allow flexible but precise validation rules.


What Is a Sidemark?

A sidemark is a free‑form text field used to help identify and organize quotes and sales. It is commonly used to make records easier to search, recognize, or reference later.

Common Sidemark Examples

Users often enter sidemarks such as:

  • A customer’s last name

    • Smith

  • Customer name plus date

    • Smith-2026-02-24

  • Customer name plus job or room

    • Smith-LivingRoom

  • Initials and date

    • JS-02242026

Without validation, sidemarks can vary widely. Requiring a sidemark — and optionally enforcing a format — helps maintain consistency across records.


Requiring a Sidemark

When this feature is enabled by an administrator:

  • Users must enter a sidemark before saving a quote or sale.

  • New quotes and sales must start off with a sidemark.

Administrators can choose whether the requirement applies to:

  • Quotes only

  • Sales only

  • Both quotes and sales


Enforcing a Sidemark Format

In addition to requiring a sidemark, administrators may also require that the sidemark match a specific format.

This format is validated using a regular expression (often called a “regex”).

If the sidemark does not match the required format:

  • The user will be prompted to correct it.

  • New quotes and sales cannot be created until the format is valid.


Sidemark Format Examples

Below are some common format rules and example regular expressions administrators might use.

1. Letters Only (Customer Name)

Rule: Only letters, no spaces or numbers
Valid examples: Smith, Johnson

^[A-Za-z]+$

2. Name and Date (YYYY‑MM‑DD)

Rule: Customer name, dash, and date
Valid examples: Smith-2026-02-24

^[A-Za-z]+-\d{4}-\d{2}-\d{2}$

3. Name and Any Number

Rule: Customer name followed by a dash and a number
Valid examples: Smith-1, Smith-25

^[A-Za-z]+-\d+$

4. Initials and Date (MMDDYYYY)

Rule: Two letters, dash, and date
Valid examples: JS-02242026

^[A-Za-z]{2}-\d{8}$

What Are Regular Expressions? (Plain‑English Explanation)

A regular expression is a pattern used to check whether text follows a specific rule.

Think of it as a template or filter:

  • It does not change the text.

  • It only checks whether the text is valid or invalid.

For example:

  • “Only letters allowed”

  • “Must include a dash and a date”

  • “Must start with two letters and end with numbers”

Regular expressions use special symbols to describe these rules, but administrators usually only need to configure them once.


Getting More Help with Regular Expressions

If you need a deeper explanation or want to test a format before using it, the following site is highly recommended:

This site allows you to:

  • Enter a regular expression

  • Test example sidemarks

  • See a step‑by‑step explanation of how the pattern works


Summary

  • A sidemark is a user‑entered identifier for quotes and sales

  • Administrators can require sidemarks and enforce formatting rules

  • Formatting is validated using regular expressions

  • Regular expressions provide flexibility while ensuring consistency

If you need assistance creating or updating a sidemark format, please contact your system administrator or support team.


    • Related Articles

    • Sidemark Format Fields

      When creating automatic sidemarks, the following fields can be used: [[F]] = First name. [[FL]] = First letter of first name. [[L]] = Last name. [[LL]] = First letter of last name. [[CN]] = Customer name. [[Date]] = The current date. [[ON]] = Quote ...
    • How to have the sidemark field filled in automatically

      Overview Order Entry has the ability to have the sidemark field fill in automatically for new quotes and sales. By using the Build the sidemark from the customer name option in Application Settings you can have the sidemark field populated with a ...
    • Automatic Sidemark Formats

      When creating automatic sidemarks, the following fields can be used: [[F]] = First name. [[FL]] = First letter of first name. [[L]] = Last name. [[LL]] = First letter of last name. [[CN]] = Customer name. [[Date]] = The current date. [[ON]] = Quote ...
    • How to select a default tax code, lead source and sidemark for your account

      Summary Solatech Focus allows Account Administrators to require that users select a tax code and lead source for new customers and to optionally set a default tax code and lead source for new customers. Users can also change the sidemark used for new ...
    • How to edit the sidemark for a Quote, Sale or Order in Solatech Focus

      Summary This article describes how to change the sidemark for a Quote, Sale or Order.   This feature is only available to Account Administrators and Sales Reps. Instructions Navigate to the Quote/Sale/Order Review screen In the upper left hand ...