Hi,
This is driving me nuts and I feel like an idiot. I'm simply trying to set the background color of a field based on the contents of another field. Here is my form method code.
________________________
if( emailgood != "1")
{
elements.email.bgcolor = "#FF0000";
}
else
{
elements.email.bgcolor = "#FFFFFF";
}
________________________
The field emailgood will have either a '1' or a '0'. I keep getting an error that says the field 'emailgood' is not defined. This should be simple!
Thanks!