How to set a particular color for field.

coolsaurabh
Tera Contributor

I want that when a particular form open , color of a particular field should be red.

Ex:- On incident form I add a field name as color, Now I want its default value should be red.

1 ACCEPTED SOLUTION

Hi Sourabh,



You can achieve this by defining a field style on the "Color" field. Here is how you do :


1. Right click on the color field


2. go to Configure Styles.


3. Click on "New"


4. Select table where the field belongs.


5. Select the "Color" field in the Field name drop dow box.


6. In the Style field write this line: background-color:Red;


7. Submit.


You are done.



Happy Working !



Thanks,


Arnab


View solution in original post

14 REPLIES 14

Hi Sourabh,



You can achieve this by defining a field style on the "Color" field. Here is how you do :


1. Right click on the color field


2. go to Configure Styles.


3. Click on "New"


4. Select table where the field belongs.


5. Select the "Color" field in the Field name drop dow box.


6. In the Style field write this line: background-color:Red;


7. Submit.


You are done.



Happy Working !



Thanks,


Arnab


Thanks Arnab for your step by step response.


Hi Sourabh,



Very welcome sourabh. It is My Duty.


Well then could you please mark my response correct so that other people with the same question as you find this as marked correct which would make them sure that the solution is well tested and working.



Thanks in advance,


Arnab


Hello,

Right click on that  field and click on configure styles > Styles> create new >

in that style field  enter = background-color:Red;

Mark correct and helpful if you able to solve this

Thanks

Rajender

midde2
Giga Contributor

Hi Everyone,

I have one request to set the colors for the Checkbox fields .

Whenever user checks on the below Checkboxes the color should be red for reporting and green for planning.

Is it possible to have like that.. Please suggest me if anyone has any idea on it...

find_real_file.png 

Thanks

Midde