Parent type modules change according to conditions

Hi,

I need to change parent type drop down values according to some conditions. For an ex. in activities sub panel on account details view there is a quick create view of Calls. In that form i need to populate modules to parent type according to account type (Some thing like active accounts /deactivate accounts).

There is a solution to do this on Calls edit view but not in quick create view.

https://developer.sugarcrm.com/2011/07/06/howto-customizing-the-parent-relate-to-sugarfield/

This is the place i need to customize…