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 Apps
Answered

ResetForm issue

(0) ShareShare
ReportReport
Posted on by 149

Hello everyone!

I'm trying to both Submit a Form and at the same time Patch the value from a dropdown into a Sharepoint list (the dropdown is inside of the Form). However, whenever I submits the form, the dropdown value defaults back to the first value inside of the dropdown. Because of this, it patches the first value of the dropdown and not the value that the user has picked. 

 

Notes: 

I have 2 different Sharepoint List where the first one is basically the SubmitForm and the second one is data that is in the Dropdown value which I want to patch to the first sharepoint list.

 

I have added some images for a better understanding of my issue!

Rama96x_0-1630572443476.png

 

Rama96x_1-1630572456007.pngRama96x_2-1630572464945.png

 

Categories:
I have the same question (0)
  • Verified answer
    Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Hey! On OnSelect property of the dorpdow set a var:

     

    Set(varDropdown; Dropdown1.Selected.Value)

     

    Then, on DefaultSelectedItens write:

     

    varDropdow

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

  • Rama96x Profile Picture
    149 on at

    Hey, thanks for the reply. Where can I find the DefaultSelectedItems propoerty? 🙂 

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    My mistake. Dropdown only has Default.

     

    But write on default. Is the same

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

  • Rama96x Profile Picture
    149 on at

    Just did that, nothing seems to work. As soon as I click on the button that submits the form, it just defaults the dropdown back to the fist value and patches that

  • Rama96x Profile Picture
    149 on at

    Sorry, It kind of works now, but now it just defaults back to the prior value. So whenever I submit, it just takes the value that was one before @Nogueira1306 

  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    Hi @Rama96x ,

     

    If you want the Last submitted value you can use below formula while patching the record. 

    YourFormName.LastSubmit.ColumnValueYouRequire

     

     

    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.

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Because you ahve the property on OnSelect. To make sure, you need to select it again. Or Set it in another part, for example, after you patch

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

  • Rama96x Profile Picture
    149 on at

    So I'm patching on the OnSuccess property on the form itself, and setting the variable after the patch here doesn't work either 😕 

  • Rama96x Profile Picture
    149 on at

    Hey @PriyankaGeethik , it's basically the dropdown value that sets to default everytime I submit my form which therefore isn't patching the correct value, that I'm trying to figure out 🙂 

  • Rama96x Profile Picture
    149 on at

    This worked on the OnChange property! Will accept this as the solution - thank you for your help 🙂 

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

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard