Custom Polymorphic Lookup Field Functionality

A way to replicate standard polymorphic lookup field functionality as it appears to the user.

Please visit  for installation instructions, 
updated instructions, new versions of this and other snippets! :smiley:

Thanks for sharing your work with the community, Remi!

Very. very useful. Have a use-case for this in mind already! :wink: Thanks.

Note: This method can only be used on new records at this time, use separate template fields to display lookup values :c It can be used for existing records, but it must be used in a popup and the dummy field updated with its value beforehand. The issue with this is that it registers a change to the model that the user has not made.