Form Field color

Thank you, it works!

i want a field called mm_clinico to be red background if empty. So i have creatad a javascript method called set_color. In this method there is:
document.F1[‘id_sc_field_mm_clinico’].style.backgroundColor = ‘color’;
The javascript method also has a parameter called color.

i did not understand what should i put in the onload event of the form to make that field with red background if empty.

i should call the method i guess.

onLoad event
sc_ajax_javascript(‘set_color’, array([g_color]));

where do i specify the red color?