How to store or read array-data not in JSON-format?

Read array data stored in a non-JSON format in a ChronoForms form.

Overview

The issue occurs when a third-party module stores array data in a pipe-delimited format instead of JSON, which ChronoForms cannot read directly.
Use the Save Data and Read Data actions in ChronoForms, adjusting their settings to handle the non-JSON format appropriately.

Answered
ChronoForms v7
hp hpeterse 19 Dec, 2020
On my website I'm using a CB-module which doesn't work correctly with JSON-data. The data from this module is saved in a db, which I want to use in a CF7 form.
There's a checkboxes-field in this CB-module is stored as: value1 | * | value2.
When I stored the same data in a CF7-form, it is stored in JSON as: ["value1", "value2"].

Is it possible to read the array in a CF7-form which is stored by the CB-module? And how do I do that?

Hans
Max_admin Max_admin 23 Dec, 2020
Answer
I think we have already discussed this in another topic, the Save Data and Read Data have settings to store and read json data!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Post a Reply