Forums

Array in Text Field

M.Abletech 09 Jul, 2018
Hi,

I need to do a pretty easy thing... but I'm probably missing something.

I retrieve an array from a db read ( I retrieve joomla custom fields for a choosen User):

This a debugger view of the array: http://prntscr.com/k4aero

So I have multiple records:
ID_CUSTOM FIELD / VALUE

In the designer view I wish I can retrive the VALUE of a given ID_CUSTOM FIELD.

Example:

Text Field "Nome" should retrieve VALUE : "Alberto"
[var] => Array
                (
                    [3] => _UE_FM_TECNICO
                    [4] => Alberto

What code should I put in Text Field VALUE?
As you can see from screenshot ( http://prntscr.com/k48up0 ), I 've put {var:read_data14.Article3.value} but I know it is not correct for an array, and I should pass the filter for key=4

Thanks in advance!!!
healyhatman 09 Jul, 2018
Answer
1 Likes
Given the way it seems you've set up your read data action:
{var:read_data14.4}
This topic is locked and no more replies can be posted.