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!

Read the data of a table data

prince25 13 Feb, 2019
Hi,
I created a chronoform6 form for user registration that saves data in a data table. Among the files from the there are dropdowns that read data from a database table (Goofy) pointing to the different IDs of Goofy and reporting the value to the field with {view: data ....}.
In the data table of the form the "ID" is recorded and not the "name" read with {view: data ...}.
In order to read the "name" associated with the "ID", should I use Chronoconnectivy? is it not possible to read the table with the name in Chronoforms?
Thank you
healyhatman 14 Feb, 2019
You can read the name using Chronoforms, no problem.

Add a second model to your data read action (there's a field for the name you want to give the model and an add model button). Relate it to the first model, set your retrieval type, and I would manually enter the relationship as
model1.field1:model2.field2
replacing the names as appropriate.
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