Questions tagged [craueformflow]

The CraueFormFlowBundle provides a facility for building and handling multi-step forms in your Symfony project.

CraueFormFlowBundle provides a facility for building and handling multi-step forms in your Symfony project.

Features:

  • navigation (next, back, start over)
  • step labels
  • skipping of steps
  • different validation group for each step
  • handling of file uploads
  • dynamic step navigation (optional)
  • redirect after submit (a.k.a. "Post/Redirect/Get", optional)

A live demo showcasing these features is available at http://craue.de/symfony-playground/en/CraueFormFlow/.

18 questions
11
votes
7 answers

Symfony2 form repeated element custom labels

I'm using Symfony2 and CraueFormFlowBundle to create a multi-step form. Everything is going well except for the my repeated email field. I cannot, for the sake of me, find how to put the labels I want. I am rendering the form by myself in the Twig…
3
votes
1 answer

Navigating CraueFormFlowBundle when editing existing entity

I created a multipage form using CraueFormFlowBundle. With this form I can create a new entity object or edit an existing one. I then added the setting protected $allowDynamicStepNavigation = true; to allow navigating back and forth through the…
SteveGroom
  • 129
  • 1
  • 15
2
votes
2 answers

How do you add a new form layout in Symfony2?

In my Symfony2 project, I noticed that there are only two layout options for rendering forms: form_table_layout.html.twig and form_div_layout.html.twig These both reside in symfony\src\Symfony\Bridge\Twig\Resources\views\Form, and I would like to…
JamesHalsall
  • 13,224
  • 4
  • 41
  • 66
1
vote
1 answer

How to use Symfony4 FormEvent onChange field with craue/CraueFormFlowBundle stepper to update or validate form?

Context : I'm using craue/CraueFormFlowBundle bundle in a Symfony4 application to generate stepper from basic SYmfony4 form and it work fine until I try to introduce form Event to modify my form depending of form changes : How to Dynamically…
Gauthier
  • 1,116
  • 2
  • 16
  • 39
1
vote
1 answer

CraueFormBundle : create a form flow from several entities

I'm trying to make a multi-step form with CraueFormFlow. The CraueForm need a class to hydrate but I have several entities so I dit a addChildWizard class where all I have my needed entities as properties like this :
Grechka Vassili
  • 853
  • 4
  • 15
  • 32
1
vote
1 answer

Symfony/Apache internal server error

I'm working on Symfony 3.1.9 (localhost) and I have installed CraueFormBundle for a multi-step form. When I access to the form I have a 500 internal server errorand nothing in the longs (Symfony doesn't handle the problem that occurred). I have…
Grechka Vassili
  • 853
  • 4
  • 15
  • 32
1
vote
1 answer

Detection Form Validation

I have a dynamic form. For exemple, if something, my form contains FormType1 else my form contains FormType2 or FormType3 .... I would detect if my form is modify. If my form is completed, I apply is valid() method and if there is an error I return…
doydoy44
  • 5,720
  • 4
  • 29
  • 45
1
vote
1 answer

Symfony Entity Type with values from another Entity

I'm still new in Symfony and I'm trying something (I think) common. I've some entities: product, theme, event, with one to many and many to one connection; so I've other entities called products_in_theme, products_in_event. A theme is a type of…
Bettinz
  • 600
  • 5
  • 14
1
vote
1 answer

Symfony 2 : multi-steps form with CraueFormFlowBundle and FOSUserBundle

For my application, I have to create a multi-steps form for registering new users, so i have installed CraueFormFlowBundle, and I use FOSUserBundle too. For the first step of my registering form, I want to register user's informations (login,…
Thomas
  • 143
  • 1
  • 12
1
vote
1 answer

Craue form flow returns false on $flow->isValid() in last step

I made form wizard with CraueFormFlowBundle and it works until last step where $flow->isValid() fails and it constantly renders last step instead of going to desired end of form wizard action. Here is the code necessary to understand where I made…
nbucic
  • 163
  • 1
  • 10
1
vote
1 answer

Customizing form step rendering by separating each view on panels or divs

I'm using CraueFormFlowBundle in a development and also I'm using Fuelux Wizard2 for render my wizard. I have managed to change the way the tabs are drawn in CraueFormFlowBundle by overwriting the stepList_content.html.twig template on my…
ReynierPM
  • 17,594
  • 53
  • 193
  • 363
1
vote
1 answer

Handling a complex Symfony2 form with multiple entities relationship

I have a form (still not finished and is missing many fields) that is handled as a wizard with steps, in which fields from multiple entities are handled. This is the form itself: public function buildForm(FormBuilderInterface $builder, array…
ReynierPM
  • 17,594
  • 53
  • 193
  • 363
1
vote
3 answers

Symfony2: validate an object that is not an entity

I am using CraueFormFlowBundle to have a multiple page form, and am trying to do some validation on some of the fields but can't figure out how to do this. The object that needs to be validated isn't an Entity, which is causing me trouble. I tried…
fkoessler
  • 6,932
  • 11
  • 60
  • 92
0
votes
0 answers

CraueFormFlowBundle: Dynamically Changing Form Type Based on User Selection in FormFlow in a step

I'm working on a Symfony application and I'm using the CraueFormFlowBundle for implementing a multi-step form using the FormFlow feature. I have a requirement where I need to dynamically change the form type displayed in the second step based on the…
kasali
  • 1
  • 3
0
votes
1 answer

How to show craueFormFlow buttons at the top of the form

I have a multistep form with Craue FormFlow in Symfony 3.4. It works well but I need to show the buttons (next, back) on the top of the form as well as the bottom (by default they show at the bottom only). I had a look at the documentation for the…
Jon
  • 766
  • 1
  • 9
  • 27
1
2