Hello Max... I don't understand where I have to insert/activate decode json.
My configuration:
db field: ART
dbread_action - data, with merge data
checkboxes group: field name = ART - Options: Chk1=Chk1, Chk2=Chk2...
on submit: save_action -> ART={data:ART}
= DB: ["Chk1","Chk2"]
{var.encode:data.ART}
Where do I put that? Why encode? Wouldn't it be easier to add an option: decode Json from DB for the checkboxes group under behaviors? On CF7 the option is under DB Read Action -> Special Field -> Decode json Oh, and can you please fix the beauty error with Merge Data? It says '>Data Merge, thanks.
My configuration:
db field: ART
dbread_action - data, with merge data
checkboxes group: field name = ART - Options: Chk1=Chk1, Chk2=Chk2...
on submit: save_action -> ART={data:ART}
= DB: ["Chk1","Chk2"]
{var.encode:data.ART}
Where do I put that? Why encode? Wouldn't it be easier to add an option: decode Json from DB for the checkboxes group under behaviors? On CF7 the option is under DB Read Action -> Special Field -> Decode json Oh, and can you please fix the beauty error with Merge Data? It says '>Data Merge, thanks.
I have done that in 8.0.16, a new behavior to set JSON fields in Read Data & Save Data
Hopefully before Monday
You need to login to be able to post a reply.