You are viewing limited content. For full access, please sign in.

Question

Question

change the text to red below a field red with Laserfiche Forms 11

asked on January 13

how do i make the text below a field value "red" with Laserfiche Forms 11

 

0 0

Answer

SELECTED ANSWER
replied on January 15

That did it.  You are so very very helpful.  I really really do appreciate you...👍🙏

Have a great evening...👌

0 0

Replies

replied on January 13

You can do this in themes, and it will set all fields that have text below to the color you select.  Otherwise, you can use the following css


.help.cf-helptext {
    color: red;
}

Just add help to your css class of the field or fields you specifically want red.

3 0
replied on January 14

Thanks Angela.  Below is the CSS class and the Variable Name and the text i want in RED but i'm still unsure of how the syntax should look and where it should be placed.  can you help me with this please.

 

0 0
replied on January 14

Copy and paste the script into the CSS area you have shown in your picture.  

#q85 .cf-helptext {
    color: red;
}

If you want all help text to be red on any field just remove the field id:

.cf-helptext {
    color: red;
}

 

0 0
replied on January 14

Made the changes as you suggested and still no difference and saving and previewing the form.

Changes Made:

 

Preview the Changes:

0 0
replied on January 14

You don't need those numbers.  I put the code in the code snippet, so just click the View Source next to the printer icon and copy and paste from there.

0 0
replied on January 14

That worked.  Thank you so much Angela.  It made the text above the field red also but hopefully that will be ok with that.

0 0
replied on January 14

You are most welcome!

If you just want the bottom part us this:

.cf-helptext.un-help {
    color: red;
}

 

Here is the one for just the top:

.cf-helptext.ab-help {
    color: red;
}

 

0 0
replied on January 14

Thank You so much Angela.  This is very helpful.  I will continue to look at my form to see what text has to be red and make the modifications.  But , if i just want the bottom red for individual check box and the top text to remain black, how would that syntax look.  Not to have all below text red, just for certain check boxes.  examples below

Red below here:

 

Not Red Below here in other parts of the form:

 

0 0
replied on January 15

Good morning Angela.  Sorry to bother you again.  But, can you help me setting the text red in a single line field.  below is what i tried but it did not work. Thanks in advance for your help.

 

0 0
replied on January 15

No problem.  You need to change the Selector Target.  

#q189 input
{
    color: red; !important;
}

This will change the color of the input text in the field itself.  

You might find this helpful: CSS Customizations for Fields, Titles, and Descriptions | Laserfiche Forms.  It breaks down common CSS cases in Classic Designer.  I am happy to help though :)

0 0
replied on January 15

That worked,  Thank you so very much.  Also, thanks for providing the above link.  I will check it out.  I hope not to bother you again today and i'm hoping that you have a great rest of your day. 👍

0 0
replied on January 15

No bother whatsoever.  

0 0
replied on January 15

Afternoon Angela.  One more tip from you if you don't mind. Syntax to make the text RED as well as the choices RED.  Below is what i have.  the Text is RED but i also need the choices RED

 

0 0
replied on January 15

Here you go:

#q190 .form-option-label
{
    color: red;
}

 

0 0
replied on January 15

The choices are now RED but it removed the RED from the text above .  Is the syntax  supposed to be combined together to make the text above  RED as well as the choices RED.  Below is what i now have.

 

0 0
replied on January 15

You left out the q after your # on the first line.  

0 0
SELECTED ANSWER
replied on January 15

That did it.  You are so very very helpful.  I really really do appreciate you...👍🙏

Have a great evening...👌

0 0
replied on January 15

Anytime :)

0 0
replied on January 14

You can use the #q85 or whatever the field ID number is to identify specific fields.  For example:

#q85 .cf-helptext.un-help {
    color: red;
}

The #qFieldID will apply the css to that specific field. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.