Participants received a ten-digit number to enter in an authenticator. Unbeknownst to them, a cut and paste added a space and invalidated the login. Is there a way to limit the number of characters in the authentication box?
Page 1 / 1
I don't think that there is any way to limit this unfortunately. Perhaps, it is worth adding a warning to users that this may be a problem.
Definitely worth a feature request!
Definitely worth a feature request!
Hi JulieT, I came across your post courtesy of some recent work I've been doing with Authenticators whereby I was trying to restrict the character length of a given Authenticator field. Appreciate that this is an old post, but I wanted to flag that your requirements are actually possible to achieve by -:
- Navigate to the Look and Feel screen
- Under the "General" tab, edit the Header and switch to the Source view
- Enter the following script...
In the example above, the "0" in
.eq(0)relates to the first Authenticator field, so if you have 2 or more, you can explicitly reference them by updating to
.eq(1)or
.eq(2)etc. You can also substitute "10" for whatever length value is appropriate
.attr("maxlength",10)section of the code.
Cheers,
Cameron
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.