From b2ef08f91ece8675003737de5a97540a885ab682 Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Wed, 18 Jan 2017 04:38:18 +0000 Subject: [PATCH] Bug 17855 - Removed the html regex from the cardnumber field in the 'Create patron administrator' page of the onboarding tool. Added '|html' into the the value attribute of the cardnumber input field to filter the inputted cardnumber. So now the same level of validation exists for validating the inputted cardnumber in the staff interface and the onboarding tool. --- .../prog/en/modules/onboarding/onboardingstep3.tt | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt index e9e56bb..5d9fbe2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep3.tt @@ -15,9 +15,13 @@ + var MSG_CATEGORYCODE_CHARS=(_("Please only enter letters into this field.")); + var MSG_PASSWORD_MISMATCH=(_("The entered passwords do not match, please rewrite them")); + var MSG_DESCRIPTION_LETTERS_ONLY=(_("Please only enter letters into this field")); + var MSG_CARDNUMBER_LETTERS_NUMBERS_ONLY=(_("Please only enter letters and numbers into this cardnumber field")); + + +