Hi Experts!
I have an app that is logging the assigned hardware to staff and when the IT department issues out some equipment, it emails people to say what has been issued. I have text input boxes for things like Make, Model, Serial Number, Computer Name and in the body of the email it sends out, I only want it to show the information that has been entered and if nothing has been entered in the text input then it doesn't display it in the body of the email.
Below is my current code, on the line under Employee Name, i'm wanting to create some if statements, for example, if textinput1 is blank then don't display anything but if textinput1 is not blank then display the line in the body of the email like <b>Laptop Make:</b>"&Form3.LastSubmit.LaptopMake&"<br>
SubmitForm(Form3);
Office365Outlook.SendEmailV2(NewEmployeeGlobalAddressList.Text , "Equipment Assigned For Employee "& Form3.LastSubmit.Title&"" , "Hi,<br><br>
Equipment has now been assigned for an employee<br><br>
<b>Originally Requested By:</b>"&Form3.LastSubmit.'Created By'.DisplayName&"<br>
<b>Original Request Date:</b>"&Form3.LastSubmit.Created&"<br>
<b>Employee Name:</b>"&Form3.LastSubmit.Title&"<br>
Regards<br><br>"
);
Navigate(Success)
Please help, Thanks in Advance!