Good Day All,
Hopefully this is an easy question.
I would like to set the field background color on specific fields. I want to highlight fields that need to have info entered but do not want to make them required. Is there some way to do this?
Change the background color of a field
Re: Change the background color of a field
Hi,
can you please be a bit more specific, as there are different kind of field and the need to be adressed diffenerently. As a starting point you can add through the hooks file some css code that would change the background of a field.
can you please be a bit more specific, as there are different kind of field and the need to be adressed diffenerently. As a starting point you can add through the hooks file some css code that would change the background of a field.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
Re: Change the background color of a field
Hey there,
Yes I simply want to highlight the BG color of a field or a row for a variety of fields, regardless of the value in the field. Basically, when a user opens a record there will be certain fields that are either required or that I want to which I want to call attention. I would like those fields /rows highlighted by changing the BG color of the row or the field. The fields to be highlighted may change over time.
I was given this JS code to put in HOOKS/jobs-tv.js but it doesn't work. I suspect it is close though:
$j(() => {
// highlight the SF keywords column
$j('.jobs-SF_keywords').addClass('warning')
})
Yes I simply want to highlight the BG color of a field or a row for a variety of fields, regardless of the value in the field. Basically, when a user opens a record there will be certain fields that are either required or that I want to which I want to call attention. I would like those fields /rows highlighted by changing the BG color of the row or the field. The fields to be highlighted may change over time.
I was given this JS code to put in HOOKS/jobs-tv.js but it doesn't work. I suspect it is close though:
$j(() => {
// highlight the SF keywords column
$j('.jobs-SF_keywords').addClass('warning')
})
Re: Change the background color of a field
Hi,
just to clarify, are you talking about the tableview or the detailview.. Input fields are usually used in the detailview. The tableview only displays your table content.
It could be very helpful if you post an image to show what you try.
For the input field it is important to understand what type of field that is, as they behave quite differently.
just to clarify, are you talking about the tableview or the detailview.. Input fields are usually used in the detailview. The tableview only displays your table content.
It could be very helpful if you post an image to show what you try.
For the input field it is important to understand what type of field that is, as they behave quite differently.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
Re: Change the background color of a field
You may be referring to http://www.appgini.de/docs/Javascript-L ... yling.html
Luis Ramirez R.