Hi
I trust that you are well. My formula is giving me an error message of "Unexpected Characters". Could you please advise why and where I am going wrong.
Patch(
'Ascendis Medical',
Defaults('Ascendis Medical'),
Visitors_Form.Updates,
VistorsD_Form.Updates
);
Office365Outlook.SendEmail(
User().Email,
"Declaration Form",
"***HIGH ALERT***<b>BOLD</b>" & "
" & "<table width='50%' border='1' cellpadding='5' style='border:1px solid black; border-collapse:collapse'>" &
"<br> Date" & ":" & Now() &
"<br> Name: " & Name_DataCardValue22.Text &
"<br> Email: " & Email_DataCardValue24.Text &
"<br> Company: " & Comp_DataCardValue23.Text &
"<br> Department: " & Dept_DataCardValue25.Text &
"<br> Temperature: " & Temp_DataCardValue27.Text &
"<br> Travlled: " & Radio_travld.Selected.Value &
"<br> If you travelled, where?: " & DataCardValue105.Text &
"<br> Have you been infected with COVID: " & Radio_infctd.Selected.Value &
"<br> If Yes: " & DataCardValue106.Text &
"<br> Fever: " & Radio_fever.Selected.Value &
"<br> Shortness in Breath: " & Radio_SOB.Selected.Value &
"<br> Chest Pain: " & Radio_CP.Selected.Value &
"<br> Cough: " & Radio_cough.Selected.Value &
"<br> Sore Throat: " & Radio_ST.Selected.Value &
"<br> Loss of Smell: " & Radio_Smell.Selected.Value &
"<br> Fatigue: " & Radio_fatigue.Selected.Value &
"<br> Vomiting: " & Radio_vomit.Selected.Value & "<br><br>")
&"</table>",
{IsHtml:true}
);
UpdateContext({varShowPopup: false});
Notify(
"Thank You For Submitting The Data",
NotificationType.Success
);
ResetForm(Visitors_Form);
ResetForm(VistorsD_Form);
Reset(ComboBox_PplPicker);
Navigate('Welcome Screen');
Solved! Go to Solution.
Just remove the trailing parentheses ')' from that line. The close for Sendmail is already there after the {isHtml: True} . The one on the other line is extra.
The problem is the closing parentheses at the end of this line.
"<br> Vomiting: " & Radio_vomit.Selected.Value & "<br><br>")
It closes the SendMail function before you've added the ishtml property.
Just remove the trailing parentheses ')' from that line. The close for Sendmail is already there after the {isHtml: True} . The one on the other line is extra.
User | Count |
---|---|
253 | |
113 | |
92 | |
48 | |
38 |