I have a field that is mandatory if another field has a value.
if (!(this.isNull || this.rawValue == ""))
{
Population.mandatory="error";
}
else
{
Population.mandatory="disabled";
}
How do i script the Popluation field to show a message if the user doesn't provide a value when the field is mandatory?