Hello all,
I have a form that sends an email and sends the data from the form to a SharePoint list. But I want to make sure that the user fills out all the required fields before it sends an email and submits to a SharePoint list. I also want the required fields highlighted once they submit so that the user knows which fields are required - but of course make sure that it does not send an email and submits to SharePoint list before all required fields are filled out.
I have the code below (form sends email and sends data to SharePoint list, I've omitted the HTML code text which is hidden in the form):
Office365Outlook.SendEmailV2(DataCardValue38.Selected.Email,
"Title: " &DataCardValue30.Text
, HtmlText1_2.HtmlText,
{Cc: DataCardValue35.Selected.Email &";"& DataCardValue39.Selected.Email &";"&DataCardValue40.Selected.Email &";"& DataCardValue41.Selected.Email
,Importance: "High"
,Attachments: RenameColumns(DataCardValue42.Attachments,"Value", "ContentBytes" ) }
);
SubmitForm(Form1_2)
ResetForm(Form1_2);
NewForm(Form1_2);
Does anyone know how to do this?