Category : formflow

I have this code in RegistrationController: $formData = new User(); // Your form data class. Has to be an object, won’t work properly with an array. $flow = $registrationFormFlow; // must match the flow’s service id $flow->bind($formData); // form of the current step $form = $flow->createForm(); if ($flow->isValid($form)) { $flow->saveCurrentStepData($form); if ($flow->nextStep()) { // form ..

Read more