CRM Javascript

Simple field validation using RegEx (e.g. ABN):



Hiding fields:



Hiding tabs:



Disabling fields within a section:




Get Potential Customer's Primary Contact and set it to Customer Contact field:




Lock Potential Customer to 'Account' Only: