Crocoblock / suggestions

The suggestions for CrocoBlock project
191 stars 78 forks source link

extract data in json format #7577

Open absitwebb opened 1 week ago

absitwebb commented 1 week ago

Good morning,

I don't know if I'm in the right place to make this request but support directs me here.

I would like to use the “call a Hook” function from the jet engine form. I created a Hook to extract the form result which is in $data. I can extract and display the name: $name=$data[‘name’] I cannot extract the date and slot values ​​from the “appointment_date” json table $result = json_decode($data[‘appointment_date’], true); $date = $result[‘date’]; does not work

Kind regards, Alain