We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Post Div Data

How to post div data to controller using phalcon form



85.5k

you can wait for someone else eventually to answer you, but if you could explain me a bit more what you want to do ?


<div id="container-i-need-data-from" data-id="1">
</div>

<form id="my-form">
//fields bla bla
</form>

so you want to take data-id attribute from the div, and submit it with the form ?

edited Mar '16

(edit) my answer was wrong in anycase.