I'm wanting to query what display mode something is in, in order to trigger off an separate action for an email - the below works perfectly fine - its using a dropdown to say yes or no to trigger it (using it to test the code worked). However I would like to have it check a different field and if that fields display mode is set to edit then trigger.
However when I use bt.navsubmitall'.DisplayMode. = edit , it doesn't work, and when I have tried looking up how a query what displaymode a field is in, all I'm getting back is how to set the display mode (which isn't what I need) any help?
If(
Checksub.Selected.Value = "Yes",
Office365Outlook.SendEmailV2(
User().Email,
"Sales_App_Information_Submitted",
HtmlTextEmailToSend_1.HtmlText,
{
Cc: User().Email,
Bcc: "xxx@xxx.com",
Importance: "High"
}
),
Office365Outlook.SendEmail(
User().Email,
"Failed_to_create_Documents",
HtmlTextEmailToSend_1.HtmlText,
{
Cc: "xxx@xxx.com",
Importance: "Low"
}
)
);