I had to write a custom extension do to something similar in the control panel. I needed to pre-populate a date field and pre-select a relationship dropdown based on the logged-in user’s Member Group. My solution was to replicate the “jQuery for Control Panel” extension and modify it to include a javascript file with some jQuery that did these things. It felt kind of hack-ish, but it works!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.