Email can not be set to required

Created on 18 January 2013, over 12 years ago
Updated 28 February 2025, about 2 months ago

In commerce_registration.checkout_pane.inc it is checked whether the mail address is required - only then the email is validated.

As for registration-7.x-1.x-dev the email address cannot me set to required.

Thus this line (181ish) will alway return false.

$mail_is_required = $form['registration_information'][$prodkey][$prodkey . '-reg-' . $i]['anon_mail']['#required'];

For my setup I changed this to:

$mail_is_required = TRUE;
πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Registration Pane

Created by

πŸ‡©πŸ‡ͺGermany nhck

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