Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Character limit in member name
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Character limit in member name

 Post Reply Post Reply
Author
vdub View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 February 2003
Location: United States
Status: Offline
Points: 275
Post Options Post Options   Thanks (0) Thanks(0)   Quote vdub Quote  Post ReplyReply Direct Link To This Post Topic: Character limit in member name
    Posted: 01 April 2003 at 8:46pm
How do I change the Character limit in member name. I want users to be able to use 2 Characters if they want to.

Edited by vdub
Back to Top
eaglesexec View Drop Down
Groupie
Groupie
Avatar

Joined: 02 December 2002
Status: Offline
Points: 127
Post Options Post Options   Thanks (0) Thanks(0)   Quote eaglesexec Quote  Post ReplyReply Direct Link To This Post Posted: 01 April 2003 at 9:29pm

<%
'If this is new reg then make sure the user eneters a username and password
If strMode ="new" Then %>
        //Check for a username
        if (document.frmRegister.name.value.length <= 3){
                errorMsg += "\n\t<% = strTxtErrorUsernameChar %>";
        }

        //Check for a password
        if (document.frmRegister.password.value.length <= 3){
                errorMsg += "\n\t<% = strTxtErrorPasswordChar %>";
        }
<%

i think u gotta change that code...  change the 3 to 1 i guess...

A good plan, violently executed now, is better than a perfect plan next week. -General George S. Patton.
Back to Top
eaglesexec View Drop Down
Groupie
Groupie
Avatar

Joined: 02 December 2002
Status: Offline
Points: 127
Post Options Post Options   Thanks (0) Thanks(0)   Quote eaglesexec Quote  Post ReplyReply Direct Link To This Post Posted: 01 April 2003 at 9:29pm
thats in register.asp around lines 1077
A good plan, violently executed now, is better than a perfect plan next week. -General George S. Patton.
Back to Top
vdub View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 February 2003
Location: United States
Status: Offline
Points: 275
Post Options Post Options   Thanks (0) Thanks(0)   Quote vdub Quote  Post ReplyReply Direct Link To This Post Posted: 01 April 2003 at 9:39pm

Cool thanks

if you se it to 0 it will alow 1 Character .

 

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.