Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

How to auto add item into choice column in a form

(0) ShareShare
ReportReport
Posted on by

Hi everyone, 

 

I'm working on a inventory app and I want to make adjustment on my create item form. I want to be able to create a value directly if not exist into my dropdown list field column. 

 

For example in my choice column, selectables values are 1, 2, 3 Ans User want to create an item with choice column value = 4. How power apps can directly crte item and create choici in the choice column ? 

 

Thanks in advance

  • ProtoSup Profile Picture
    on at
    Re: How to auto add item into choice column in a form

    @royg 

    Very good solution, works well, thank you very much !

  • Verified answer
    royg Profile Picture
    on at
    Re: How to auto add item into choice column in a form

    Not sure why this didn't work. Did you Change the "Update" property of your DataCard as suggested?

    royg_0-1718270733235.png

     

  • ProtoSup Profile Picture
    on at
    Re: How to auto add item into choice column in a form

    Thanks @royg I'm still on this problem since morning, and I also found this solution, how can i adapt my SubmitForm() to choses this formula instead of the combobox slected item ? 

    Thanks a lot for your nexts advices

  • Verified answer
    royg Profile Picture
    on at
    Re: How to auto add item into choice column in a form

    Hi @ProtoSup,

    To allow the users to add items to the list of choices, as you discovered, you need to enable that in your list settings (Edit the choice field and check that option):

    royg_0-1718269042310.png

    Then in your app, unblock the field that updates the choice column and set its Update property to:

    Coalesce(DataCardValue8.Selected, {Value:DataCardValue8.SearchText})

    * Replace DataCardValue8 with your combobox name.

    Now if the user searches for a value that is not present in your choice list, upon update, a new choice will be appended.

     

    Hope this helps

     

  • ProtoSup Profile Picture
    on at
    Re: How to auto add item into choice column in a form

    Hi @mmbr1606 , 
    I discover possibility directly in microsoft list interface an option to add if not exist : please see my screenshot 

    ProtoSup_0-1718266392781.png

    Sharepoint tell me "Add "NOT EXIST" "

    Do you follow me ? 




  • mmbr1606 Profile Picture
    12,108 Super User 2025 Season 1 on at
    Re: How to auto add item into choice column in a form

    hey @ProtoSup 

    in a choice column as the name says the user can choose from choices you offer.

    you could add a text input field where the user can put a value outside of the coices.

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,653 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard