How can I implement AJAX calls to my custom module’s one of the field. My requirement is when we change some dropdown, it should check in the database and update the result in another field in same screen.
For normal modules, i See the .tpl files where I can insert script code and call. But for custom modules I didnt see the .tpl files except the cache directory (which are generating runtime).
Is there any method to implement.
I am using Sugar Professional.
Here are the steps you need to follow
Find your field name and call a javascript function
Here RenewalDate is your javascript function name.
Create the script function which will call AJAX functionality like below.
);