Hello,
I am hoping to have an option in a normal select field selected and the value chained in the statement, entered directly to a integer field.
I am not able to trigger the update on selection until the screen is submitted - saved and then changed again. It then fires the update of the selection.
The value is used in a small formula script which requires updating on entry as well. This is also working once the screen has been re-opened.
I have seen this behaviour with the case_assigneduseridInput trigger that changes the user name when a product area is selected and this is what I am attempting to see function.
Is there a way to do this - in jquery (great!) or javascript with CRM?
Here is my attempt - in the custom content of the oppo progress screen:
crm.ready(function(){
var oEcontextInfo = crm.getArgs()
if (oEcontextInfo.Act == "1190" || oEcontextInfo.Act == "263")
{
if (crm("oppo_stage").value()== "Demo")
{
document.forms[0].oppo_certainty.onchange();
crm('oppo_certainty').value(10);
}
else if (crm("oppo_stage").value()== "Quoted")
{
document.forms[0].oppo_certainty.onchange();
crm('oppo_certainty').value(25);
}
}})
Thank you.. in anticipation :)
Best Regards,
Penny Vaskess