cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
echodapogi
Helper V
Helper V

Adding Multiple Data on Textbox from Dropdown box

Hello there, 

 

Please help me on this issue. It might be simple but I'm a newbie here. I want to add multiple values on my Notes(textbox) separated by semicolon from two objects (TypeofBox(dropdown) and NumberofBox(textbox) when they click the (+) plus icon.

 

Dropdown has two values: LCM/Battery and Parts

Below is the view.

So that output on my Notes should be "LCM/Battery: 4 ; Parts: 5"

 

echodapogi_3-1609884055034.png

 

I cannot figure it out. I tried concat but no luck.

 

Thanks in Advance

 

Echo.

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

@echodapogi ,

I assume this is triggered off the + sign? - you will need a Variable

Firstly at Screen OnVisible or anywhere else you need to start a new order

UpdateContext({varNotes:YourNotesBox.Text()})

The on the OnSelect of the Plus icon

UpdateContext(
   { 
      varNotes:
      varNotes & TypeOfBoxDDName.Selected.Value & "; Parts: " & NumberOfBoxName.Text
   }
);
Reset(YourNotesBoxName)

then the Default of the Notes box

varNotes

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

4 REPLIES 4
WarrenBelz
Super User
Super User

Hi @echodapogi ,

You need

YourTypeOfBoxDDName.Selected.Value & ":" & YourNumberOfBoxName.Text & ";  Parts:" & YourBatchBoxName.Text

I have assumed your dropdown is a Choice column, otherwise .Value may be different.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Hello @WarrenBelz , 

 

First, Thank you so much for your reply.  Its working when i select the dropdown box and numberofbox. but what i need is how to append multiple values from dropdownbox and number of box. Right now, it only display one value based on the selection.  i want to add multiple values by clicking + sign. 

 

I just manually  type the values on the notes to show what i need. 🙂

 

Thanks again. hoping your reply. 

 

echodapogi_0-1609886816791.png

 

 

 

@echodapogi ,

I assume this is triggered off the + sign? - you will need a Variable

Firstly at Screen OnVisible or anywhere else you need to start a new order

UpdateContext({varNotes:YourNotesBox.Text()})

The on the OnSelect of the Plus icon

UpdateContext(
   { 
      varNotes:
      varNotes & TypeOfBoxDDName.Selected.Value & "; Parts: " & NumberOfBoxName.Text
   }
);
Reset(YourNotesBoxName)

then the Default of the Notes box

varNotes

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

thanks so much. 🙂

Helpful resources

Announcements
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.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (3,399)