C5-8.0+ How to execute PHP function and pass json values from add block form?
Permalink$('#ccm-form-submit-button').on('click', function(e){
There is also a save($args) function, but how do I append my json array to the $args?
Thank you.
Anyway, I think this tutorial should help you out:
https://documentation.concrete5.org/developers/working-with-blocks/c...
Maybe this one as well
https://documentation.concrete5.org/developers/working-with-blocks/c...
form.php
controller.php:
But the token ('message' => $token) is null. Why isn't it passed to the controller?
What am I missing?