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 / Clear office user data...
Power Apps
Unanswered

Clear office user data in SharePoint list when remove selected in combobox in editform

(0) ShareShare
ReportReport
Posted on by 6

Hi,

 

I created editform to submit data to SharePoint list. One of columns is Responsible field that I set as person (office user). I can submit a person I selected but I would like to remove him/her when I clear selection and submit again.

Categories:
I have the same question (0)
  • narayan225 Profile Picture
    2,547 Moderator on at

    @Nattapark 

     

    Are you using patch to submit the data or SubmitForm function?

     

    I checked and it is working fine if you use SubmitForm function.

     

    Cheers!

  • v-hanytian-msft Profile Picture
    Microsoft Employee on at

    Hi @Nattapark ,

     

    May I ask what formula you have used to submit the Form?

     

    Data source we created.

    vhanytianmsft_0-1689650806129.png

     

     

    We found that it can be removed him/her after clear selection and submit form in the Data source.

    DataCardValue2.Selected

    vhanytianmsft_1-1689650806137.png

     

    Default of DataCard:

    ThisItem.Responsible

    vhanytianmsft_2-1689650806140.png

     

     

    Items of Combo Box:

    Choices([@'0718_1'].Responsible)

    vhanytianmsft_3-1689650806143.png

     

    DefaultSelectedItems of Combo Box:

    Parent.Default

    vhanytianmsft_4-1689650806145.png

     

     

    The Button of Submit Form.

    SubmitForm(Form1)

    vhanytianmsft_5-1689650806148.png

     

     

    vhanytianmsft_6-1689650806149.png

     

    vhanytianmsft_7-1689650806149.png

     

     

    Hope this will help you,

     

    Best Regards,

    Tina

     

  • Nattapark Profile Picture
    6 on at

    I am using SubmitForm but not work, it will work if I change to another.

  • narayan225 Profile Picture
    2,547 Moderator on at

    @Nattapark 

     

    I hope you are using a form. If you are, you can edit the form to remove the card and add it again. This will refresh the form and should submit when you try again.

     

    Click on edit fields after selecting the form:

    narayan225_0-1689652667184.png

     

    Then remove the filed:

    narayan225_1-1689652694310.png

     

    Add the field again:

    narayan225_2-1689652717428.png

     

    Cheers!

  • Nattapark Profile Picture
    6 on at

    It is really same with you at all but not work.

  • Nattapark Profile Picture
    6 on at

    I already try for this or even create new Edit Form but still not work.
    Is it problem from I set properties items of edit form as gallery. Selected ?

  • narayan225 Profile Picture
    2,547 Moderator on at

    @Nattapark 

     

    What did you put for DataSource property of the form?

     

    The same thing works for me without any issues. Try restarting the app.

     

    Cheers!

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

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard