Print Page | Close Window

Require Realname?

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=22508
Printed Date: 30 March 2026 at 7:27am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Require Realname?
Posted By: sgreen0
Subject: Require Realname?
Date Posted: 25 January 2007 at 2:16am
Is it difficult to make the user's Real Name required?

I'm new to this forum software and I'm wary to mess with the code without guidance.

Thanks for any help you can offer.

Stephen



Replies:
Posted By: <SKATER
Date Posted: 30 January 2007 at 4:40pm
i would like to see this as well


Posted By: gölge
Date Posted: 30 January 2007 at 7:30pm
Originally posted by sgreen0 sgreen0 wrote:

Is it difficult to make the user's Real Name required?

I'm new to this forum software and I'm wary to mess with the code without guidance.

Thanks for any help you can offer.

Stephen
 
in register.asp file find this code;
 
        //Check for a username
        if (formArea.name.value.length <= 3){
                errorMsg += "\n\<% = strTxtErrorUsernameChar %>";
        }
 
and paste that code after it
 
        //Check for a real name
        if (formArea.realName.value.length <= 1){
                errorMsg += "\n\ttplease fill your real name area!..";
        }


-------------
"A lie travels round the world while Truth is putting on her boots" C.H. Sturgeon
PLEASE VISIT http://www.tallarmeniantale.com - www.tallarmeniantale.com AND SEE THE TRUTH.


Posted By: sgreen0
Date Posted: 02 February 2007 at 10:04pm
Thanks.  It works fine.  I also moved the Real Name field up with the othre required fields and added and asterisk...

Thanks again.

Stephen



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