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 / submit only checked co...
Power Apps
Answered

submit only checked components of a form

(0) ShareShare
ReportReport
Posted on by 304

Hi,

my app contains a formula connected to a sharepoint list. The formula contains comboboxes and checkboxes next to them. What I want to achieve is, when the user submits the form, only the comboboxes that are checked get submitted to the list. 

How can I achieve that? Can I do it through a submit function or do I need to use a patch function?

 

Here you have a screenshot of the app, maybe that helps to imagine

LisKr_0-1718260437759.png

 

Categories:
I have the same question (0)
  • Verified answer
    v-mengmli-msft Profile Picture
    on at

    Hi @LisKr ,

     

    I recommend you use Patch function because SubmitForm will update all fields.

    OnSelect of Button.

    Patch(Table,Defaults(Table),{Computer:If(ComputerCheckBox.Value,ComputerTextInput.Text,""),Monitor1:If(MonitorCheckBox.Value,MonitorTextInput.Text,"")})

     

     

    Best regards,

    Rimmon

  • LisKr Profile Picture
    304 on at

    @v-mengmli-msft 

    Thank you for your reply. I will try that and update this thread if it worked.

  • LisKr Profile Picture
    304 on at

    @v-mengmli-msft 

    Your solution worked. Thanks for helping!

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard