When anonymous users create registrations (or an authenticated user creates a registration for "Other person"), the Email field does not have a red asterisk next to it signifying it is required. Having Email appear to be optional (when it is required by design) makes it needlessly difficult to fill out the form.
Please add the red asterisk to make it consistent with the other required fields, or recommend a practice for faking one. Context: I'm using this module on several sites in a multisite, each with a different theme. Some CSS trickery seems possible, but I'd have to copy it to several different themes. Handling it outside the theme in a centralized way seems less fragile, to me.
Comments
Comment #1
sclsweb commentedFor anyone interested in the CSS trickery, this shows an asterisk next to Email when added to theme CSS:
label[for="edit-anon-mail"]:after {
color: #CC0000;
content: ' *';
display: inline;
}
Downsides of this method:
Comment #2
jochen wendebaum commentedThank you for this tip, nice work-around, but a fix is needed indeed!
Comment #3
digitgopher commentedAnything wrong with adding #required to the definition?
Comment #4
cboyden commentedComment #5
jami commentedComment #6
jami commentedLooks great. Patch will be committed soon. Thank you!
Comment #8
CountPacMan commentedPatch to the patch to restore ability for authenticated users to register themselves (#states and #required issue).
Comment #9
jami commentedPatch to the patch is RTBC. Nice catch, CountPacMan.
Comment #10
jami commentedComment #11
jami commentedComment #15
sclsweb commentedThis issue is not fixed as of 7.x-1.6 -- could a maintainer reopen it? The red asterisk is not displayed next to required Email anon_mail form field.
Comment #16
sclsweb commentedAha. This is only partially working. The red asterisk is displayed correctly when one is authenticated, registering an "other person." It is NOT displayed correctly when you are registering as an anonymous user.
Maintainers -- advise on opening a new issue for this or reopening this one?
Comment #17
mnarlock commentedAny update on this? All of our sites are seeing this same issue...anon users don't see the asterisk.