JScript1
Here are some JScript Examples for the beginning.
Here you can see some examples to format the WebForm. Here you can see how to change the background collor and the font color.
JAVASCRIPT
-
crmForm.all.address1_country.style.backgroundColor = "#FFFFFF";
-
crmForm.all.address1_country.style.color = "#000000";
The Field “MyContact2″ is a DropDown Field with Options “Yes” and “No”, hee you can see, how to get a DropDown Field colored.
JAVASCRIPT
-
var list = crmForm.all.new_mycontact2;
-
var optionyes = list.options[0];
-
var optionno = list.options[1];
-
optionyes.style.backgroundColor = "#8FFE89";
-
optionyes.style.color = "#000000";
-
optionno.style.backgroundColor = "#FE6F6E";
-
optionno.style.color = "#000000";

