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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Question on using butt...
Power Apps
Answered

Question on using button to launch an email

(0) ShareShare
ReportReport
Posted on by 172

Hello! I am trying to have a button launch an email OnSelect. It does work! I just cannot figure out how to make the "Subject" one of the answers they've just submitted in the form. 

 

This is what I have right now:image.png

 

What I would like to have for the subject is whatever the user entered into DataCardValue3. 

 

How would I adjust my formula? 

 

Thank you!

 

Sara

Categories:
I have the same question (0)
  • Verified answer
    wyotim Profile Picture
    2,545 on at

    Hey @slan2018, try this:

     

    Launch("mailto:someone@email.com?subject=" & DataCardValue3.Text)

    Now for the caveats. While I was able to get this to work in test, any spaces were decoded as a "+". I tried to substitute a %20 for each space but it still showed up as a "+". I was able to substitute "_" which made it a little more readable. Here is the code for that:

     

    Launch("mailto:someone@email.com?subject=" & Subsititute(DataCardValue3.Text, " ", "_"))

    I tested this on my iPhone and Windows 10 computer, for reference. Feel free to comment back if I can try and help further!

  • slan2018 Profile Picture
    172 on at

    The second formula worked PERFECTLY! 

     

    Thanks,

     

    Sara

  • wyotim Profile Picture
    2,545 on at

    Awesome! Glad it worked for you!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard