I Need to append the values from drop downs to a text box. I could write one value using ‘Set Text’ function. I could not figure out how to append the value from second drop down to it, along with the first value.
I did small modification in your rp file. Because, when you select first dropdown result label come with result+select. I hope it will be useful for you. Concatenate_update.rp (58.4 KB)
Thank you both for the function. However I would want to capture the changes that happens on any of the drop downs except the case one of it has Select. I included a If condition to achieve what I need Thank for getting me started on this.
If you have two variables named “LVAR1” and “LVAR2”, using “[[LVAR1]] [[LVAR2]]” will tell Axure RP to display those two variable values side by side (with a space in between). Using the version with the concat() JavaScript method will give you the same string as above, but will also be able to be used to return a new string if used in a context with other JS methods (as opposed to just displaying the values next to each other in RP). If you’re interested, you can find some more information about the JavaScript string concat() method here.