From 2f3a34f847c53825f28f753293aa64a60f42fd81 Mon Sep 17 00:00:00 2001 From: Catalin Date: Thu, 13 Jun 2024 17:47:27 +0300 Subject: [PATCH] HDX-9808 update username hints --- .../ckanext/hdx_theme/fanstatic/hdx-form-validator.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/hdx-form-validator.js b/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/hdx-form-validator.js index 25c07a5d3b..e507e91c70 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/hdx-form-validator.js +++ b/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/hdx-form-validator.js @@ -295,8 +295,8 @@ this.ckan.module('hdx-form-validator', function ($) { var validationMessages = { 'name': [ {'key': 'invalid-length', 'message': 'Must be between 2 and 100 characters in length'}, - {'key': 'invalid-format', 'message': 'Must use lowercase alphanumeric characters'}, - {'key': null, 'message': 'Can use - (dash) or _ (underscore)'} + {'key': 'invalid-format', 'message': 'Must use lowercase alphanumeric characters (a-z, 0-9)'}, + {'key': null, 'message': 'Allowed special characters - (dash) or _ (underscore)'}, ], 'password1': [ {'key': 'invalid-length', 'message': 'The password must be a minimum of 10 characters in length'},