dotCMS / dotCMS/core

Add Field Validator for Label|Value Pattern in Select-type Fields

Open
#31,150 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Team : Falcon Type : New Functionality
Dominant language
Java
Stars
970
Forks
486
Avg merge
3d 33m
Merged PRs (30d)
170

Description

Parent Issue

No response

User Story

As a content editor, I want to be notified when I input incorrect format in select-type fields that require the label|value pattern, so I can fix the formatting errors before saving.

Acceptance Criteria
  • Validator must check for proper label|value pattern in:

    • MultiSelect fields
    • Select fields
    • Any other field types that use label|value pattern
  • System must display clear error messages when the pattern is not followed correctly

  • Validation should occur before form submission

  • Error message should indicate the correct format expected (label|value)

Proposed Objective

Technical User Experience

Proposed Priority

Priority 2 - Important

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

No response

Assumptions & Initiation Needs
  • All select-type fields that require label|value pattern must be identified
  • Error message text needs to be defined
  • Validation should be consistent across all applicable field types
Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating validation for MultiSelect, Select, and other fields using the label|value pattern, then identify how form validation runs before submission. Confirm the applicable field types and define the expected label|value error message before implementing consistent validation and tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
content, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.