cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Andries1
Helper I
Helper I

Dropdown box no/incorrect value

After inserting data source I removed the data input field and replaced with dropdown selction. I made sure that it is still in the correct field. Because that particular field is required I get the error of no or incorrect value which I assume is because of the dropdown box? My syntax on Items of Dropdown box: ["Name of Course", "Basic Fall Arrest"] to my knowledge this output is be default in Text?
1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @Andries1 ,

Could you please share a bit more about the data input field that you mentioned? Is it a Text type field?

Do you want to use Dropdown box selection collect data for the field instead of the original Text Box?

 

I have made a test on my side, please consider take a try with the following workaround:

Set the Update property of the Text Input field data card within your Edit form to following:

Dropdown1.Selected.Value

 

Please consider take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
pontusofsweden
Resolver IV
Resolver IV

Hi!

 

I´m not really getting you problem. Do you get an error when you try to display your selection? If that is the case, the syntax for the label (or whetever the control is) should be Dropdown1.SelectedText.Value. If you only type Dropdown1.SelectedText, you will get errors since that doesn´t return a string.

 

BR

Pontus

I get the message when I try to submit Form. I believe that the DataCard does not recognize the DropDown Input field or my data type is incirrect?

 

I replaced the original Input field with dropdown selection once I connected the data.

Ok, now I´m following 🙂

Can you try to set the Update property of the Datacard to dropdown1.SelectedText.Value and the try to submit the form. Just replace dropdown1 to your dropdown-id. I think that this might solve your problem. 🙂 

 

BR

Pontus

v-xida-msft
Community Support
Community Support

Hi @Andries1 ,

Could you please share a bit more about the data input field that you mentioned? Is it a Text type field?

Do you want to use Dropdown box selection collect data for the field instead of the original Text Box?

 

I have made a test on my side, please consider take a try with the following workaround:

Set the Update property of the Text Input field data card within your Edit form to following:

Dropdown1.Selected.Value

 

Please consider take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,277)