I would do it in your biz form layout with javascript/jquery, this way javascript will be specific to your biz form, but yes sure you can do in bizform web part (CMSWebParts/BizForms/bizform.ascx), for example in
protected void SetupControl():
{
if (StopProcessing)
{
// Do nothing
viewBiz.StopProcessing = true;
}
else
{
// Set BizForm properties
viewBiz.FormName = BizFormName;
viewBiz.SiteName = SiteName;
viewBiz.UseColonBehindLabel = UseColonBehindLabel;
viewBiz.AlternativeFormFullName = AlternativeFormName;
viewBiz.ValidationErrorMessage = ValidationErrorMessage;
if (BizFormName == "yourformname")
{
bool isSubmitButtonVisible = true;
var visibleFields = viewBiz.FormInformation.GetFields(true, false);
foreach (FormFieldInfo field in visibleFields)
{
var disyplayName = field.GetDisplayName(MacroResolver.GetInstance());
//... make your condition
isSubmitButtonVisible = false;
}
var invisibleFields = viewBiz.FormInformation.GetFields(false, true);
foreach (FormFieldInfo field in invisibleFields)
{
var disyplayName = field.GetDisplayName(MacroResolver.GetInstance());
//...make your condition
isSubmitButtonVisible = false;
}
viewBiz.SubmitButton.Visible = isSubmitButtonVisible;
}
...
P.S. If you want do in the web part I would recommend to clone it, so changes will not accidentally affect other biz forms