Jump to content
  • 0

Label Color, Field Color


wdandrews

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

Link to comment
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). 

Link to comment
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> 

Link to comment
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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...