- cgregoryAsked on October 16, 2017 at 10:47 AM
I want to highlight the background in the "METAL TYPE" input based on the text
- JotForm SupportJanAnswered 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:
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.
- cgregoryAnswered on October 16, 2017 at 01:07 PM
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?
- JotForm SupportJanAnswered 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.