Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Viewing all articles
Browse latest Browse all 3925

Symfony form programatically submited doesn't update data

$
0
0

I created a from, and it seems its correct but the data is no t update wen is submitted

$form = $this->createForm($formType, $questionnaire)........//$questionnaire data is an array with the form data and the validation returns true$form->submit($questionnaire_data);    if ($form->isValid()) {

But when I check the database , questionnaire is not updated with the $questionnaire_data info

Do I missed something?


Viewing all articles
Browse latest Browse all 3925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>