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 / keep datacard value of...
Power Apps
Answered

keep datacard value of last fill of editform

(0) ShareShare
ReportReport
Posted on by 294

i have a problem with datacards values of my editform.

 

After i clik button with submitform function,

the values of datacard automatically return to previous value inserted.

 

This cause me a problem with outlook365 v2 connector, beacuse send email with previous data of datacards.

 

What could i do in this situation to freeze datacard value to last fill ?

Categories:
I have the same question (0)
  • Jagadeeshk Profile Picture
    457 on at

    I suggest to use temporary variables to capture the datacard value before submit form. And use variable value to send email after submission.  

  • gennarodp Profile Picture
    294 on at

    How can i do ? Can you explain me better this thing ? Thank you

  • Verified answer
    Jagadeeshk Profile Picture
    457 on at

    Let say ur datacard bame is Datacard1 and form name is Form1.

    Code for submission button,

    Set(variable1, Datacard1.text);

    Submit (from1);

     

    Then use variable1 for sending email or wherever required 

  • gennarodp Profile Picture
    294 on at

    Must i insert this code in onselect of button ? Excuse me, I don’t understand 

  • gennarodp Profile Picture
    294 on at

    I have used the variable but the problem is the same. 😞

  • WarrenBelz Profile Picture
    156,382 Most Valuable Professional on at

    Hi @gennarodp 

    Another option is to use the LastSubmit value, so if (for instance) EmailAddress was a field in the data, your email could be sent to (after the form was submitted)

    Form1.LastSubmit.EmailAddress

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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 427 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard