Populating Company names based of of contract numbers
Can someone teach me what is wrong with this script? It says there's an unterminated string literal on line 3. When a user enters a contract number in Field1, I want the form to populate the name of the company the contract is tied to in the field this script is in.
var f = this.getField("Field1")
if(event.value == "Contract Number”)
f.value = "Company Name";
else
{
// do nothing
}
