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.
3 posters
Input-box says in "username"
Guest- Guest
- Post n°2
Re: Input-box says in "username"
Hi, please read https://help.forumotion.com/t48637-list-of-variables
SLGray- Administrator
- Posts : 51499
Reputation : 3523
Language : English
Location : United States
- Post n°4
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.
Guest- Guest
- Post n°5
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
- Post n°6
Re: Input-box says in "username"
Function onclick. It's a simple attribute, you need to put this on the input tag.
Guest- Guest
- Post n°8
Re: Input-box says in "username"
In phpBB2 you can edit index_body, so... onclick="document.form1.type.value ='''';" Give me the index_body..
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
- Post n°10
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'
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
- Post n°12
Re: Input-box says in "username"
Topic solved