When working with the Contract entity, the CONTRACT TEMPLATE field is required. Since we're not using that field, I'd like to have the form automatically populate it with "Service". (the only value available)
I tried the following 2 pieces of code and neither worked. Any Suggestions?
if (crmForm.all.contracttemplateid.SelectedText == null)
crmForm.all.contracttemplateid.SelectedText == "Service";
if (crmForm.all.contracttemplateid.DataValue == null)
crmForm.all.contracttemplateid.DataValue == "Service";