• Uncaught ReferenceError: $ is not defined

    I changed from server to a more modern one (from hivelocity to a2hosting), I made a backup of all the crm information and copied it to the new server and I gave the necessary permissions as it appears in this link or the basics permissions to fix the…
  • Calling Javascript function from a relate field in Editview

    Hello developers! I need to call a javascript function when a record is chosen in a relate field (in the editview). i know how to do that with standard fields like dropdowns and others but the javascript function is not called on relate fields. 1. i added…
  • Add javascript in the onclick of a custom button

    Hi, I work with the 7.6 pro version of Sugar and I have added a custom button in the module Quotes that follows the old standard, the 6.7 version. I have added the button with this code in the detailviewdefs.php: 'buttons' => array ( 0 => 'EDIT' , 1 …
  • Custom js script code giving jquery is not defined error in editviewdef

    Hi All In editviewdef am including js file and when am writing my script am getting Jquery is not defined error. I even tried with Jquery noConflict but no use same error am getting. By default jquery library will be include but for my custom js its not…
  • How do I get the current record ID in a script?

    Hopefully a fairly simple question: I am modifying an AJAX js for a quote building tool, that pops out product creation to a child window that lets me build a product from several options. The problem, is that I cannot figure out how to send the current…