ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Show multiple values in a text key

NJM 20 Oct, 2017
Hi there,

I was wondering how a put 2 (or more values) in e text key when you load values via dynamic data,

Let's say there's a dropdown that shows field 'name' from DB, but I want to add the firstname as well,
so what syntax I need to write in order to show name + firstname.

Thanks in advance!
GreyHead 21 Oct, 2017
Hi NJM,

Please see this FAQ for a simple example - in your case the code would need to be a bit more complicated to loop through all the values for the drop-down.

As an alternative you could use a DB Query in a Custom Code option and use CONCAT() to build the new value.

Bob
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com