Textfield to fill with value from an array with a specifically id.

JoCo 2d ago

Dear Max,

I hope I can explain it clearly.

I want to display a value from a database table record with a specifically id.

For example in CF7 is used id.datum to display the value of datum. How does that like like in CF8? 

You see here the array:

Textfield to fill with value from an array with a specifically id. image 1

regards 

JoCo Webmaster

Max_admin 1d ago
Answer

Hi JoCo

The path here shows that you should use {var:diensten.0.datum}

it depends, if this list is passed to the table view for example, then you will not use "diensten"

where do you plan to use this ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
JoCo 1d ago

I want to display the datum from array diensten with id=116 in an text field.

I pass on id=116 with the link with which I open the display with that text field.

JoCo 1d ago

Sorry Max, but I showed you the wrong array. This is the correct array.

I want to present [datum] in a text field. 

Textfield to fill with value from an array with a specifically id. image 2

Max_admin 1d ago

then you should use {var:read_data48.datum}

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.