How to do in the "Input" that you put your username saying in the "username" and just click the box to disappear and putting your name.
1 Guest, on 10/11/2011 at 18h06
Hi, please read /t48637-list-of-variables
2 Guest, on 10/11/2011 at 18h44
no this.
3 slg, on 10/11/2011 at 18h46
I am having trouble understanding what exactly you want or asking about.
Please give an example.
Please give an example.
4 Guest, on 10/11/2011 at 18h49
Username: please write your username
Password: please write your password
And i click on boxes.
Username: My name.
Password: my password.
Automatically delete the message "please write your username"" please write your password with one click.
Password: please write your password
And i click on boxes.
Username: My name.
Password: my password.
Automatically delete the message "please write your username"" please write your password with one click.
5 Guest, on 10/11/2011 at 18h52
Function onclick. It's a simple attribute, you need to put this on the input tag. 
6 Guest, on 10/11/2011 at 18h53
how ? 
7 Guest, on 10/11/2011 at 18h54
In phpBB2 you can edit index_body, so... onclick="document.form1.type.value ='''';" Give me the index_body..
8 Guest, on 10/11/2011 at 19h01
I do not want to put on index_body.
9 LGforum, on 10/11/2011 at 23h34
When you have an input field you can do this in the input tag:
So when the user clicks in the box, it will empty what is in there for them to type. And if they click back out of it, it will return to 'Please type your username'
- Code:
<input type="text" name="username" onfocus="if(this.value!=' '){this.value=' '}" onblur="if(this.value!='Please type your username'){this.value='Please type your username';}" value="Please type your username">
So when the user clicks in the box, it will empty what is in there for them to type. And if they click back out of it, it will return to 'Please type your username'
10 Guest, on 14/11/2011 at 16h57
thanks.
11 Nera., on 14/11/2011 at 19h17
Topic solved
Similar topics
What's the best username you ever heard? It can be yours or someone elses.
In my opinion, it's HaZe
UH, am i allowed to change username?
My anyka has touch screen and I want to change the default virtual keyboard because it is large. I have an alternative keyboard program. Please help if you can, its a CE 5.0.
Replies 1 to 11 on 11 for "Input-box says in "username""
Search
Informations
11 Replies For the topic :
"Input-box says in "username""
This topic has been viewed 583 times.
Last message :
10/11/2011 at 17h44 by "Guest"





