I am trying to create form wizard in nette 2.1.2. I've created my own component in which nette form can be injected. Then in latte template is form rendered to individual steps.
However, I want to perform validation of form fields in the current step, before switching from this step to another. For this I need two things:
Can you help me how can I do this?
The usual solution is to create form component for each step of your wizard. This form components should be (as you already did) wrapped in another component. The state between steps should be saved by your component, getting step results should be done as usual, as is described in doc .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.