How to set/change field value color in red by client script?

Thousif S N2
Tera Contributor

I have  a client script from where iam passing some value,

var test = 'please DO NOT click'; 

so now in the above string i want 'DO NOT' should displayed in red color?

how this can be done?

  

3 REPLIES 3

Thanks for the response, actually i want to store this value into description field  i am not trying to alert a msg here.

Priyanka Vasant
Tera Guru

Hi,

Find the below link that might help you.

Change color of field Text

 

mark helpful or correct based on impact.

Regards,

Priyanka