Highlight text or background in field on table

  • Profile Image
    Asked on October 16, 2017 at 10:47 AM


    I want to highlight the background in the "METAL TYPE" input based on the text

  • Profile Image
    Answered on October 16, 2017 at 12:14 PM

    My understanding is that you want to change the background color of that specific field inside the Input Table.

    If yes, then please use the CSS code below:

    #input_9_0_1 {
    background: yellow;

    Here's a guide on How-to-Inject-Custom-CSS-Codes. Here's the result:


    If you are referring to a different issue, please let us know. Thank you.

  • Profile Image
    Answered on October 16, 2017 at 01:07 PM

    Yes, Perfect.

    But one more customization, can the background color change per the text input?

    if one types RED or type YELLOW, can it be black text with highlighted background of red or yellow?

  • Profile Image
    Answered on October 16, 2017 at 01:41 PM

    Unfortunately, it is not possible to change the CSS value of an element based on a condition.

    If you want, you can create 2 Input Tables and have a condition wherein the specific Input Table will appear based on the condition. Here's a guide: How-to-Show-or-Hide-Fields-Base-on-User-s-Answer.

    Thank you for your understanding.