Add support for pre-populated fields when creating from template