This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-cd20fcfe-38a2-44f4-8025-afb8cd400960 XWIKI-25610 Open

The email field of the registration form uses type text

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-24cca9e2-2f6a-423a-9733-3c0c7784027a Charpentier Lucas created this issue on 29/Oct/26 11:22
 
Summary: The email field of the registration form uses type text
Issue Type: cid:jira-generated-image-avatar-cd20fcfe-38a2-44f4-8025-afb8cd400960 Improvement
Affects Versions: 17.10.14
Assignee: Unassigned
Components: Administration
Created: 29/Oct/26 11:22
Priority: cid:jira-generated-image-static-major-a40a9f72-63e8-4a28-a2ea-b0916ac64536 Major
Reporter: Charpentier Lucas
Description:

The email field of the registration form declares autocomplete="email" but is still rendered with type="text", unlike the email field of the "Forgot your user name" form, which XWIKI-24838 switches to type="email".

With type="text", mobile browsers show a generic keyboard instead of the email one, and the browser's native email format validation is not applied.

Steps to reproduce

  • Log out.
  • Go to /xwiki/bin/register/XWiki/XWikiRegister.
  • Inspect the email input.

Actual behaviour

The input has type="text" and autocomplete="email".

Expected behaviour

The input has type="email" and autocomplete="email", consistently with the "Forgot your user name" form.

Location

The register_email field definition in xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-ui/src/main/resources/XWiki/Registration.xml. The field already has its own regex validation, so the change needs to check that the native validation does not conflict with it.