Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > Client Side Scripting
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 09-21-2005, 03:47 PM
  #1
D-Mar
Novice (Level 1)
 
Join Date: Sep 2005
Posts: 2
iTrader: (0)
D-Mar is an unknown quantity at this point
login

Hello everyone,

I've got a question:

I'm making a little project-page in which i also put a login from another site. (kind of like a gmail/hotmail login)
On this site you haven to put "@example.com" behind your username. I would like it if the @example.com would automatically be added to the username; so I only have to type my username and not the @..
Login is made with javascript.. what more info do you need?

Thanks for all the help you can give me

Sincerely,

D-Mar


so far i already got this answer:

You should use your javascript login in conjunction with some sort of server-side script, otherwise anyone can just view the source code and get the correct username and password.

But this is not what i meant. What I mean has nothing to do with the login itself. The login is not on my site. I just want to automatically put the @example.com behind whatever i type.

for example:

my username is 123456ab
and to login i need to type 123456ab@example.com

I want to type 123456ab, and when i continue to type my password, @example.com gets put behind the 123456ab

I know it's possible, a while ago hotmail.com had it when you logged in, I typed my username and the in the field automatically "@hotmail.com" was added


Thanks for any help!!
D-Mar
D-Mar is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-21-2005, 09:44 PM
  #2
RetroGamer1991
Soldier (Level 11)
 
Join Date: Sep 2001
Posts: 147
iTrader: (0)
RetroGamer1991 is on a distinguished road
have it add "@example.com" to end of the login string when they click submit

function addemail()
{
document.formName.loginVariableName.value += "@example.com";
}

.
.
.
<form method="post" action="wherevertogo.cgi" name="loginform" onsubmit="return addemail()">
RetroGamer1991 is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart
 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 03:44 PM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.