Jump to content
  • 0
wdandrews

Label Color, Field Color

Question

6 answers to this question

Recommended Posts

  • 0
On 2/16/2018 at 8:41 AM, wdandrews said:

is it possible to change only one label or field result color? We have a comment field we would like to stand out if the comment is displayed.

Hi Wdanders,

Is it possible to provide the URL and will try to inspect field?

regards,

Franchiser

Share this post


Link to post
Share on other sites
  • 0

One thing you can do is wrap the label in HTMLBlocks, turn off the WYSWYG editor, drop in 

<div id="comment">

in one block, and close the div in the one under it.

From here, you can easily use CSS to select the label (it should be a child element under the div). 

Share this post


Link to post
Share on other sites
  • 0

Hello,

You can also add some HTML direct to the label itself. See this page: https://c0cqk194.caspio.com/dp/d667300046b81b2a2b534766a4eb.
If you cycle through the records, you will see that Address 2 has text label in red when a value exists or hidden otherwise.  This was achieved by setting the element under the advanced tab to 'Hide when blank' and then setting the label itself for that field  to the following: 
<span style="color:#FF0000;">Address 2</span> 

Share this post


Link to post
Share on other sites
  • 0
On 3/12/2018 at 6:58 PM, GoCubbies said:

Hello,

You can also add some HTML direct to the label itself. See this page: https://c0cqk194.caspio.com/dp/d667300046b81b2a2b534766a4eb.
If you cycle through the records, you will see that Address 2 has text label in red when a value exists or hidden otherwise.  This was achieved by setting the element under the advanced tab to 'Hide when blank' and then setting the label itself for that field  to the following: 
<span style="color:#FF0000;">Address 2</span> 

Where do you apply the span style to the label as you've done in your example? That is what I'm trying to achieve, but I do not see an option in the data page set up that will allow the html to the  label. Thanks!

Share this post


Link to post
Share on other sites
  • 0
On 3/27/2018 at 5:36 PM, GoCubbies said:

Hello,

I added the tag direct in the label under General Options.

image.png.9ae06f81defc88e9c10dbd0ecd74e47b.png

Perfect! Thank You! Did not realize you could hack the label like that. I appreciate your help!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×