Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - change length of username from 15
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

change length of username from 15

 Post Reply Post Reply
Author
webfort View Drop Down
Newbie
Newbie


Joined: 02 November 2002
Location: United Kingdom
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote webfort Quote  Post ReplyReply Direct Link To This Post Topic: change length of username from 15
    Posted: 05 December 2006 at 12:40pm
hi,
 
what changes need to be made to make the username longer, I've changed the input fields from 15 to 30
 
and changed this:-
If strMode = "new" Then strUsername = Trim(Mid(Request.Form("name"), 1, 15))
 
to this:-
If strMode = "new" Then strUsername = Trim(Mid(Request.Form("name"), 1, 30))
 
Any help would be really appreciated,
 
ThanksSmile
Back to Top
ISCE View Drop Down
Newbie
Newbie


Joined: 13 January 2006
Location: United States
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote ISCE Quote  Post ReplyReply Direct Link To This Post Posted: 05 December 2006 at 2:47pm

I also needed to do this...  all I had done however was change the field size in SQLServer, but it was still clipped.

It appears that perhaps together we figured out the answer.  You have to increase the field size in SQLServer and ALSO update the code as you did below to allow the large name field size.  PS: what file is that in and code line number to make it quicker for me to find and update?
 
    Jay
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 05 December 2006 at 11:45pm
I think you might have to change the javascript validation routine as well.

Lead me not into temptation... I know the short cut, follow me.
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.