[Solved] FEU input fields

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
aivarukas
New Member
New Member
Posts: 6
Joined: Mon Nov 30, 2009 9:25 pm

[Solved] FEU input fields

Post 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!
Last edited by aivarukas on Sat Dec 05, 2009 4:45 am, edited 1 time in total.
aivarukas
New Member
New Member
Posts: 6
Joined: Mon Nov 30, 2009 9:25 pm

Re: FEU input fields

Post 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
Last edited by aivarukas on Sat Dec 05, 2009 4:45 am, edited 1 time in total.
Golf Gti

Re: FEU input fields

Post by Golf Gti »

Great info for others who don't know.
You should add [SOLVED] in the subject of the first post.
brentnl
Power Poster
Power Poster
Posts: 493
Joined: Mon May 11, 2009 4:35 pm

Re: [Solved] FEU input fields

Post 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.
Last edited by brentnl on Mon Nov 29, 2010 10:30 pm, edited 1 time in total.
User avatar
Ricko97
Forum Members
Forum Members
Posts: 65
Joined: Wed Jan 07, 2009 10:14 pm

Re: [Solved] FEU input fields

Post by Ricko97 »

Uh... look at the second post? The solution is right there!
brentnl
Power Poster
Power Poster
Posts: 493
Joined: Mon May 11, 2009 4:35 pm

Re: [Solved] FEU input fields

Post 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..  ?
Last edited by brentnl on Mon Dec 13, 2010 1:53 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: [Solved] FEU input fields

Post 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... ;)
Post Reply

Return to “Modules/Add-Ons”