How to post array value in postButton in cakephp 3?


#1

Hai,
I faced the scenario wand to pass array value in postButton, It is possible, kindly guide me.

Thanks.


#2

Not a cake example, but will point you in the right direction
array in post


#3

https://book.cakephp.org/3.0/en/views/helpers/form.html#creating-post-buttons

there is 'data' option in there where you can set what additional data you want to send.


#4

hidden fields in form also can help