cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

How can I add a dropdown menu to a single line text Form?

As seen on the picture attached. I'm trying to add a measure unit dropdown menu on a single line text form, as we're working with SharePoint. But on the corresponding Card settings (in this case the PS1 Card), I tried to modify the "Update" parameter from just "DataCardValue29.Text" to:

DataCardValue29.Text + MenuVoltaje30.SelectedText

I also tried adding MenuVoltaje30.Selected, of course with DataCardValue29 being the text box which in the picture has 220 written, and MenuVoltaje30 the dropdown menu on the right side.

My idea is for the user to only enter a number and then just select the corresponding voltage measure unit on the dropdown menu, but I have no idea how to concatenate and store both of these things on SharePoint. The error diagnostic says:

 

"Invalid argument type, one of the following expected: Number, Text, Boolean"

 

Thanks in Advance 🙂

2 REPLIES 2
C-Papa
Super User
Super User

hi, + is for calculations, try using & e.g.

DataCardValue29.Text & " " & MenuVoltaje30.SelectedText

 

 

 

zmansuri
Super User
Super User

If you are trying to concate them then

 

DataCardValue29.Text & MenuVoltaje30.SelectedText

 

If you are trying to add them:

Value(DataCardValue29.Text) + Value(MenuVoltaje30.SelectedText)

 

Helpful resources

Announcements
Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

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 (4,005)