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 / Checkbox Input in Form...
Power Apps
Answered

Checkbox Input in Form Collection

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

I am new to PowerApps. My App is collecting information from our employees to evaluate our Contractors performance. Everything is being run through CDS/Dataverse. One of the questions offers multiple choices in the form of Checkbox inputs.

 

Capture1.JPG

 

Once the checkboxes are checked, how do I save that data/input to the Dataverse? What command or language should be entered on the OnCheck & OnUnCheck lines? How do I connect each box with the Choices I have in my Dataverse Table? I have scoured the internet looking for the answer, but it seems I can only find stuff on linking to SharePoint. I am trying to do this 100% in the Dataverse.

 

If this is common knowledge stuff, please forgive a newbie trying to learn.

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @Anonymous 

    Checkbox controls are saved as either true or false.  If your have a series of choices that are mutually exclusive, then use a radio control. If can choose more than one, consider a list box or combobox, depending on the number of choices. They allow multiple choices.

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi@Urbain_Mora,

    Do you mean that you want to save Checkbox value to the Choices field in the CDS?

    A Choices field could not be used to compare with a Text value, this is forbidden by PowerApps. If I understand correctly, you have a Choices field and you want to display this options using multiple Checkboxes.

    A key is that it is difficult to convert the Text to OptionsetValue which is forbidden by PowerApps.

    For your needs, I think it over and update the reply as below.

     

     

    Here is an alternative solution, I think you could consider a horizon Gallery to insert Checkbox values into the Choices.

    Add a blank horizontal Gallery outside the form and insert a Checkbox into it.

    Set Items property of the Gallery as:

    Choices(QiTests.Check)

    Set Text property of the Checkbox as:

    ThisItem.Value

    Set Default property of the Checkbox as:

    If(Checkbox11.Text in ThisItem.Value, true, false)

    Set Update property of the data card corresponding to the Check column as:

    Filter(Gallery6.AllItems,Checkbox11.Value)

    Note: My table name is 'QiTests' and my Choices column is 'Check'.

    Then you just need to click the submit button to save the choices back to the Table.

    Hope it could help.

    Regards,

    Qi

     

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
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard