There is no gift card code validation when adding a single gift card in the admin UI

Created on 11 November 2020, over 4 years ago
Updated 6 August 2024, 11 months ago

Problem/Motivation

When using the Add gift card button in the administration UI the administrator is presented with a blank code box. There is no help text explaining what a valid format for that gift card type is. There is no validation to ensure it meets the minimum length requirements.

Steps to reproduce

Go to admin/commerce/giftcards and "Add gift card". Enter a code that is shorter than the required length in the gift card type.

Proposed resolution

Add form validation to ensure the entered code meets the required length in the gift card type. Possibly other validation if there are other format constraints added to the gift card type.

✨ Feature request
Status

Active

Version

1.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States rhovland Oregon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024