Print Page | Close Window

change length of username from 15

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=22121
Printed Date: 08 April 2026 at 1:34pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: change length of username from 15
Posted By: webfort
Subject: change length of username from 15
Date 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



Replies:
Posted By: ISCE
Date 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


Posted By: dpyers
Date 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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net