I have a SharePoint list have a choice column is "Company".For "Company" choice column I have enable "Allow 'Fill-in' choices". I have also added a "Other" option in a "Company" choice field in SharePoint. Now I have open "Edit Form control" and display a NewForm of SharePoint list data source. I have added a text input box control in the PowerApps form and set below to "Company" choice field.
I have set the visibility propety of text box control to below. When the Company choice column other value will selecet the text box will appear otherwise hide.
Data Card Update propety wrote below rule.
So when user select the Other choice value from the "Company" choice value then the text box will appear. User can enter value in the text box manually. So it is working fine it is successfully save to SP list. When second time user will open the newform in the PowerApps and click on the "Company" choice column dropdown we will get the manully entered value before as a choice value.
But my query is I donot want to select the other from company choice column. I want user should type new choice value inside the dropdown column. And the value will save to SharePoint list. When I will open second time I should get the manually enter value as a choice value in the Choice field. Is it possible??
I didnot get any solution so I have tried the other option and text box control.
Solved! Go to Solution.
Hi @Anonymous
If(DataCardValue3.SearchText in Choices('Sp List'.Company).Value, DataCardValue3.Selected, {Value: DataCardValue3.SearchText})
Hi @Anonymous
If(DataCardValue3.SearchText in Choices('Sp List'.Company).Value, DataCardValue3.Selected, {Value: DataCardValue3.SearchText})
I was happy to find this solution. It also solved my question!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
206 | |
187 | |
82 | |
51 | |
37 |
User | Count |
---|---|
288 | |
244 | |
121 | |
76 | |
55 |