Error font colour.

User 2056177 Photo


Registered User
232 posts

Is there any way to change the error font from red?
Pete
User 2073552 Photo


Registered User
1,625 posts

Yes, edit the CSS code when the form is exported.
"An Apple doth not fall far from its tree, yet an orange does."

https://lbwebsitedesign.com - Responsive Web Design & Web Hosting Services.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.
User 2056177 Photo


Registered User
232 posts

Thanks SirAGE for the help but I'm not well up with code.

I've looked through the CSS code but I'm not totally sure what I'm looking for.

Could you possibly point me in the right direction as to which part I need to change to alter the font colour, please.

Pete
User 2073552 Photo


Registered User
1,625 posts

Sure can I have a link to your the page with the form on it?
"An Apple doth not fall far from its tree, yet an orange does."

https://lbwebsitedesign.com - Responsive Web Design & Web Hosting Services.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.
User 2056177 Photo


Registered User
232 posts

This is the link to the form which only being tested so I am still playing around with it.

http://www.tvbr.org.uk/test.html

Any help would be very much appreciated.

Pete.
User 2073552 Photo


Registered User
1,625 posts

Peter Gillies wrote:
This is the link to the form which only being tested so I am still playing around with it.

http://www.tvbr.org.uk/test.html

Any help would be very much appreciated.

Pete.


In the default.css

Change this color to what ever you like...

#docContainer label.error {
background-color: transparent;
clear: both;
color: #BF0000;
display: block;
font: italic 12px Helvetica,sans-serif;
margin: 1px 0 0;
padding: 5px;
}
"An Apple doth not fall far from its tree, yet an orange does."

https://lbwebsitedesign.com - Responsive Web Design & Web Hosting Services.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.
User 2056177 Photo


Registered User
232 posts

Thanks a lot for the help but unfortunately, that does'nt seem to work. It's one of the things that I had already tried. I have altered the file as above but the error mesages still come up as red.
Pete
User 187934 Photo


Senior Advisor
20,271 posts

I think you need to try it again:). Make sure you do it again if you redo your form in the form builder because your altering will be gone.
/* Rules for Validation styles */
#docContainer label.error {
background-color:transparent;
font-weight: normal;
padding: 5px;
display:block;
clear:both;
color: #BF0000;
font: italic 12px Helvetica,sans-serif;
margin: 1px 0 0 0;
}
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2056177 Photo


Registered User
232 posts

Thanks Eric and SirAGE, got it sussed now.

Why can't the program remember when you do these changes instead of defaulting back to the original?

Pete
User 187934 Photo


Senior Advisor
20,271 posts

The program doesn't know you altered the output. It's kinda like moving, if you don't tell the post office that your address has change your not going to get your mail.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.