wdandrews 0 Report post Posted February 16 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. Share this post Link to post Share on other sites
0 GoCubbies 11 Report post Posted March 27 Hello, I added the tag direct in the label under General Options. Share this post Link to post Share on other sites
0 Franchiser 1 Report post Posted March 1 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 alineer 0 Report post Posted March 1 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 GoCubbies 11 Report post Posted March 12 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 wdandrews 0 Report post Posted March 26 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 wdandrews 0 Report post Posted March 29 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! Share this post Link to post Share on other sites
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.
Share this post
Link to post
Share on other sites