Abin
Novice

Concatinate two values from two drop down list and populate the value in a text box

Jump to solution

Hi,

 

I want to concatinate two values from two drop down lists and populate the new value in a text box.

When I applied the below rule 

"When dropdownlist1 is changed

if an advanced condition is true (dropdownlist1 equals value and dropdownlist2 has a value)

the transfer data Expression (Concatinate dropdownlist1, dropdownlist2)"

Only the value from dropdownlist1 is populating in the text box.

But when I give the same expression directly in the text box property it will populate both the values while execution.

 

Please help me to complete this.

 

Thanks in advance.

Regards,

Abin K Thomas

0 Kudos
Reply
1 Reply
Gareth1
Apprentice

Re: Concatinate two values from two drop down list and populate the value in a text box

Jump to solution

Hi Abin,


 


What version of K2 are you on?


 


I tried this on K2 Five, and I was able to achieve the goal.


 


My rules:


 


5961i2A4C2B84F8DB1C56.jpg


 


5962i55B807D78C2DE001.jpg


 


5963i7DF9D44017E740E9.jpg


 


My expression:


 


5964iB34455C2AC82C42C.jpg


 


When I ran the View, I selected one value from each dropdown list, then I selected a different value for the first dropdown list, and it populated the textbox with the correct values:


 


5965iB1D056F79775431B.jpg

Reply