I donāt believe it is something that could be done OOTB, Iām afraid.
However, if you are still looking for this, Iāve had a look.
I believe I was able to achieve this via custom code:
(Though if someone finds any errors, please let me know!)
Create a new file at: custom/modules/Opportunities/views/view.subpanelquickcreate.php
and paste in the following:
<?php
require_once('include/EditView/SubpanelQuickCreate.php');
class OpportunitiesSubpanelQuickCreate extends SubpanelQuickCreate
{
public function OpportunitiesSubpanelQuickCreate(){
//If Module is Currently Leads->Opportunities Subpanel
if ($_POST["return_module"] == "Leads"){
// Begin Js Script - Use RemoveFromValidate Function
$jsscript = <<<EOQ
<script>
removeFromValidate('form_SubpanelQuickCreate_Opportunities','account_name');
</script>
EOQ;
// Echo JsScript onto Page
parent::SubpanelQuickCreate("Opportunities");
echo $jsscript;
}
// If parent module is not Leads, continue as normal
else{
parent::SubpanelQuickCreate("Opportunities");
}
}
}
The above code should make the āAccount Nameā field non-required ONLY when on the Leads->Opportunities subpanel