Input-box says in "username"
3 posters
Page 1 of 1
Input-box says in "username"
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.
Guest- Guest
Re: Input-box says in "username"
Hi, please read https://help.forumotion.com/t48637-list-of-variables
Guest- Guest
Re: Input-box says in "username"
I am having trouble understanding what exactly you want or asking about.
Please give an example.
Please give an example.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Input-box says in "username"
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.
Guest- Guest
Re: Input-box says in "username"
Function onclick. It's a simple attribute, you need to put this on the input tag.
Guest- Guest
Re: Input-box says in "username"
In phpBB2 you can edit index_body, so... onclick="document.form1.type.value ='''';" Give me the index_body..
Guest- Guest
Re: Input-box says in "username"
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'
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Input-box says in "username"
Topic solved
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Similar topics
» Changing the Username's Color As Well As Multicolored Username and Glow
» Load input's content into a variable
» Text Input Area
» how can input script on topic?
» Please help me,... input link not function
» Load input's content into a variable
» Text Input Area
» how can input script on topic?
» Please help me,... input link not function
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum