web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Form Information in th...
Power Apps
Unanswered

Form Information in the BODY of email

(0) ShareShare
ReportReport
Posted on by

Good morning,

 

I'm having issue in trying to send value information of the form in my email.
What I would like to do is when I send an email, in the "Body" of the email I want to have the "First Name" and "Last Name" of the person who submitted the form.

Example:

Office365Outlook.SendEmailV2(
    "new@outlook.com",
    "New Heat Customer Has Just Been Added",
    'First Name_DataCard1' & " " & 'Last Name_DataCard1' & " Has Just Completed The New Customer Form For Heat Group."
)
I have added 'First Name_DataCard1' .Update to both First Name and Last Name:
NewberneData_0-1717686620340.png

 

But now when I fill the form out:

NewberneData_1-1717686769941.png

 

 And send an email, this is what I received:

NewberneData_2-1717686832337.png

Did I not write the formula correctly? Not sure why "UPDATE" isn't working.

Help would be greatly appreciated.

 

Thanks



Categories:
I have the same question (0)
  • Verified answer
    madlad Profile Picture
    2,637 Moderator on at

    Hi!

     

    Apologies, I missed in your earlier post that you submitted the form before sending the email - this is likely clearing the .Update value before the email sends.

     

    This should reference the values just submitted by the form:

    Form1.LastSubmit.FirstName & " " & Form1.LastSubmit.LastName & " Has Just Completed The New Customer Form For Heat Group."

    (You may have to change the exact column references in those to match)

     

    Let me know how it goes!

  • Verified answer
    timl Profile Picture
    36,383 Super User 2025 Season 2 on at

    Hi @NewberneData 

    When you call SubmitForm, the contents of the data cards will clear which explains why the first and last names are not showing. You can resolve this by referencing the LastSubmit property of the form.

    Office365Outlook.SendEmailV2(
     "new@outlook.com",
     "New Heat Customer Has Just Been Added",
     Form1.LastSubmit.Firstname & " " & Form1.LastSubmit.Lastname & " Has Just Completed The New Customer Form For Heat Group."
    )

     

  • CU15082249-0 Profile Picture
    on at

    Thanks guys that worked perfectly!

    Appreciate your time for this.

    Last question if I wanted to put BOLD around the first and last name. All I need to do is put the <b> in front and </b> behind Form1.LastSubmit.Firstname?
    Example:
    <b>Form1.lastSubmit.Firstname</b>

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard