AnsweredAssumed Answered

Add callback function on relate field population

Question asked by dhavaldarji dhavaldarji on Feb 17, 2014
Latest reply on Feb 3, 2015 by Syed Asif Iqbal
Hi All,

Just started looking into customizing Sugar 7.1 and everything seems new!! 
I read dev guide and got idea how rest calls are made to retrieve data, but still does not figured out how to change dropdown values based on what is selected in a relate field.
If i was using old 6.x sugarcrm then i would have added a view.edit.php and have overridden open_popup method, but not sure how to do it with sugar 7.

More concrete, i have a custom module having an account module relate field and a dropdown with static values.
Now when i select some value in Account relate field, it should change options of dropdown field to some other option.
Also not sure how dropdown options will be changed in the callback function, will the old javascript method of adding option will work or need to do some other stuff also.

Any help will be appreciated.