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
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
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
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.field2replacing the names as appropriate.
This topic is locked and no more replies can be posted.
