{Code Tip} How to check Quick Create form type via JavaScript in D365 CE


This blog post explains how to check the Quick Create form type using JavaScript in Dynamics 365 CE. Quick-create forms allow users to create new records without leaving the current page. The requirement is to perform logic or validation based on the form type, so the form type value needs to be obtained. JavaScript can be used to distinguish between create and quick create forms. The post provides an example of creating a contact from the Account entity using the quick create form and auto-populating the 'Job Title' field as 'Developer'. The implementation involves using JavaScript to get the form type and set the field value accordingly. The output is shown in a GIF.


Article 14m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time