Open theedov opened 6 years ago
Hard to tell what's wrong there. Are you still experiencing this issue? Can you narrow it down somehow?
I think the problem is with mapped=>false
option. Am struggling atm with the same issue, unmapped fields not being transferred between steps ...
Maybe the form was submitted via AJAX? I just found this behavior using jQuery's submit handler on the form. Serializing a form in the submit handler will not add the clicked button to the posted data, therefore Symfony's $form->get('mybutton')->isClicked() won't work.
Hey,
I have a problem with my form. When I press back button, it's actually going forward and ignoring all required field.
Here is my form:
Flow:
Step1:
Step2:
Step3:
Step4:
Controller:
View: