wdandrews Posted February 16, 2018 Report Share Posted February 16, 2018 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. Quote Link to comment Share on other sites More sharing options...
0 GoCubbies Posted March 27, 2018 Report Share Posted March 27, 2018 Hello, I added the tag direct in the label under General Options. Quote Link to comment Share on other sites More sharing options...
0 Franchiser Posted March 1, 2018 Report Share Posted March 1, 2018 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 Quote Link to comment Share on other sites More sharing options...
0 alineer Posted March 1, 2018 Report Share Posted March 1, 2018 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). Quote Link to comment Share on other sites More sharing options...
0 GoCubbies Posted March 12, 2018 Report Share Posted March 12, 2018 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> Quote Link to comment Share on other sites More sharing options...
0 wdandrews Posted March 26, 2018 Author Report Share Posted March 26, 2018 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! Quote Link to comment Share on other sites More sharing options...
0 wdandrews Posted March 29, 2018 Author Report Share Posted March 29, 2018 On 3/27/2018 at 5:36 PM, GoCubbies said: Hello, I added the tag direct in the label under General Options. Perfect! Thank You! Did not realize you could hack the label like that. I appreciate your help! Quote Link to comment Share on other sites More sharing options...
Question
wdandrews
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.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
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.