Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Suggested answer

Form using "other"

(1) ShareShare
ReportReport
Posted on by 551
I have a Sharepoint List as a source.
I created a Form in Power Apps. 
Column is called "Change Reason" but set as a single line of text in SharePoint.
Is there a way to make it a choice drop down in the PowerApps Form  with  reasons (Choice A, Choice B, Choice C, Other).  If other is selected, then gives you option to free text it out and it puts the information into the same column "Change Reason"?  Almost like it does when you create a form in Forms or Customer Voice?  Thank you.
 
 
 
Categories:
  • Suggested answer
    Pstork1 Profile Picture
    65,906 Most Valuable Professional on at
    Form using "other"
    Yes, it is possible.  But its not simplistic.  Here are the steps required
     
    1) Add a card for Column "Change Reason" to the form and unlock the Card.
    2) Add a Dropdown to the Unlocked card and set its Item value to 
    Table({Value: "Other"},{Value: "Choice A"},{Value: "Choice B"},{Value: "Choice C"})
    Set the default value of the Dropdown to "Choice A"

     

    3) Set the DisplayMode property of the TextInput control in the form to

    If(Dropdown1.Selected.Value="Other", DisplayMode.Edit,DisplayMode.Disabled)
     
    4) Change the Update property of the card to the following
    If(Dropdown1.Selected.Value = "Other",TextInput1_1.Text, Dropdown2_1.Selected.Value)
     
    5) Fix spacing inside the Card and any other errors that may be present
  • Suggested answer
    Michael E. Gernaey Profile Picture
    40,272 Super User 2025 Season 1 on at
    Form using "other"
    HI,
     
    So, yes you could do that. There are some not so much caveats but different ways to do it.
     
    1) I would create a Collection, that has Choice A, B etc in it by default. Use the Screen OnVisible to pre-populate it
    add that as the Items property for the Drop down 
     
    2) have a label, + Icon and text input invisible and have the visible set to something like
     
    MyDropDown.Selected.ColumnName Or SelectedText depending on your collection. = "Other"
     
    you dont need to add = true or anything just the above
     
    3) when the person types in a value in the text box, set the + Icon visible to (for adding the new option)
    !IsBlank(MyOtherInput.Text And !Contains(MyOtherCollection, MyOtherInput.Text) or something like this so they cannot add the same thing 2 or more times
     
    This will then make the + visible
     
    4) in the + Onselect
    do a Collect(MyChoicesCollection, MyOtherInput.Text)
    then have it reset(MyOtherInput.Text) so that they cannot add the same thing again
     
    5) Now it will be in the Dropdown for them to select. Or if you want to auto select it as the default, once they save it we can do that too.
     
    But now they can add any they want, and you just have to save the Selected value into the SP List since its a text.
     
     

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,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard