cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Igarsaba
Frequent Visitor

Help with combobox in Sharepoint Integration Form

Hi, i was building a simple form sender in Power Apps with Sharepoint Integration, so i put a Button in one of the first fields that was "Company Name", that button changes TextBox to ComboBox in case of need to add Companys that i dont have listed in my Excel, i have a list of company registered in one Excel Table, so i put that list in my Combobox source, but when i submit my Form, i get some error mesage because my Textbox (was the default field in my Sharepoint list) is empty,

 

Is there a way to link my Textbox value with the Combobox single value when the button is selected for the ComboBox?

When my button is disabled i need to be able to put any value in Textbox,

Igarsaba_0-1638496793130.png

 

When i put my button to green, the user needs to select one company, that selection needs to fill or replace that TextBox,

Igarsaba_1-1638496835772.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
AJ_Z
Super User
Super User

Go to the text box by clicking it. Then go to it's 'default' property and type in the name of the combobox followed by .Selected

 

 

Sometimes it needs to be . Selected.Value or .Selected.Result depending on the datasorce for the combobox.

 

E.g. 

(For this example my combobox is called ComboBox1)

 

In the default text I would put:

 

ComboBox1.Selected

Or

ComboBox1.Selected.Value

Or

ComboBox1.Selected.Result

 

Usually one of the above should do the trick depending on the source. Sometimes on rare occasion you may need to do Text(ComboBox1.Selected.Value)

 

Try this and reply to my comment if you have an issues. If my comment helped please like/kudo it and if it's the solution please mark it as the solution.

 

 

 

 



Signature:


If you appreciated my comments/responses please be sure to Like/Kudo them it really does make me smile 🙂 !
Link to the Power Platform Professionals United Kingdom User Group:

https://powerusers.microsoft.com/t5/Power-Platform-Professionals/gh-p/PowerPlatformProfessionalsUnit...

View solution in original post

1 REPLY 1
AJ_Z
Super User
Super User

Go to the text box by clicking it. Then go to it's 'default' property and type in the name of the combobox followed by .Selected

 

 

Sometimes it needs to be . Selected.Value or .Selected.Result depending on the datasorce for the combobox.

 

E.g. 

(For this example my combobox is called ComboBox1)

 

In the default text I would put:

 

ComboBox1.Selected

Or

ComboBox1.Selected.Value

Or

ComboBox1.Selected.Result

 

Usually one of the above should do the trick depending on the source. Sometimes on rare occasion you may need to do Text(ComboBox1.Selected.Value)

 

Try this and reply to my comment if you have an issues. If my comment helped please like/kudo it and if it's the solution please mark it as the solution.

 

 

 

 



Signature:


If you appreciated my comments/responses please be sure to Like/Kudo them it really does make me smile 🙂 !
Link to the Power Platform Professionals United Kingdom User Group:

https://powerusers.microsoft.com/t5/Power-Platform-Professionals/gh-p/PowerPlatformProfessionalsUnit...

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,841)