Custom agree validation error message and submit button label

Created on 28 June 2022, almost 3 years ago
Updated 23 May 2023, almost 2 years ago

Problem/Motivation

When a user submits the form without agreeing, the standard Drupal "field required" validation is shown. But there are cases when sites want a different message. This applies also to the submit button.

Proposed resolution

Make these 2 items configurable in the legal document config entity.

Remaining tasks

None.

User interface changes

2 new fields to allow customization in the legal document config entity.

API changes

None.

Data model changes

The entity_legal_document entity will have 2 new properties.

Feature request
Status

Needs review

Version

4.0

Component

Code

Created by

🇷🇴Romania claudiu.cristea Arad 🇷🇴

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

Merge Requests

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