Page 1 of 1

[Solved] FEU input fields

Posted: Fri Dec 04, 2009 4:01 am
by aivarukas
Hello , is it possible to change , for example, username or password field color? Or put image on sign in button? They are white , and my website is black , so i want to change them in black too and type in white letters. Anyone can help me to figure this out? I know how to make input colors with html tags , but this one in login template uses {$input_username} , that's where my knowledge ends. Thanks for answers!

UPDATE: 10 minutes after i figured out other way, but its useless , since it colors all my other fields. I have a lot of forms , so i need only fields colored in my global_content block. So this CSS isnt helpin :(

input[type=text] {
background-color: black;
color: red;
}

Also I have another question , is it possible to set default field value ? For example , it shows User in the username field , after you click on it , it disappears...as in FormBuilder. Thanks for answers!

Re: FEU input fields

Posted: Fri Dec 04, 2009 10:02 pm
by aivarukas
I've figured out everything by myself. Even a default value. Here is an example:

Code: Select all

<input type="text" STYLE="color: #fcc014; background-color: black;" name="m2feu_input_username" value="User" onBlur="if(this.value=='') this.value='User';" onFocus="if(this.value=='User') this.value='';" size="20" maxlength="30" / >
Now my FEU input fields look like that:

Image

Re: FEU input fields

Posted: Sat Dec 05, 2009 4:04 am
by Golf Gti
Great info for others who don't know.
You should add [SOLVED] in the subject of the first post.

Re: [Solved] FEU input fields

Posted: Mon Nov 29, 2010 10:26 pm
by brentnl
How did you manage to get a default value at the login/password input fields from FEU?

I'm searching in function.user_loginform.php but I can't find a string to adjust... no 'value' is found in the whole document..

NOTE: I'm aware this is een old topic, but the problem is quite clear explained in the topicstart, so I a now topic was a bit useless imo.

Re: [Solved] FEU input fields

Posted: Tue Nov 30, 2010 12:05 am
by Ricko97
Uh... look at the second post? The solution is right there!

Re: [Solved] FEU input fields

Posted: Mon Dec 13, 2010 1:46 pm
by brentnl
Ricko97 wrote: Uh... look at the second post? The solution is right there!
I see, but I don't know if I've to replace {$input_password} with the code from the second post or that I've to add that piece of code in the user_loginform.php code..

and how do you add a option to empty the value onclick..  ?

Re: [Solved] FEU input fields

Posted: Tue Dec 14, 2010 1:28 am
by Dr.CSS
That should have been done using CSS not in the form or whatever, upgrading may kill it but CSS will live forever... ;)