Multipage forms
Hi!
We have had many queries about the possibility to do form that has been split into many pages. Naturally this would be easy by doing multiple pages with links to next and previous, having separate forms. But the customers would want them all connected into one form result (for example first asking basic details ie name etc, then the payment information on separate page and finally a confirmation - naturally results only make sense if they would be connected to each other ie one result having basic details, payment information and confirmation all at one). Separate forms also would create a problem when user has filled a form and goes back to change something.
We were thinking something on the lines of creating a custom widget that is used to hold one big form that it would divide into separate pages by searching thru it and separating "pages" into different divs based on a tag / classname on the component (maybe a custom widget that users could drag into form and that would create this tag is also needed). When the component would be shown it would only show first div and upon pressing next (customized submit button maybe) it would show the next part. This would keep the form as one, allowing results to make sense and still achieve the desired paging effect.
The question we have is whether or not there is a better way to do this ?
Hi Lasse,
We have plans to add support for wizard in the forms. Currently you can create a single form with Form Widgets and hide them through java script when someone submits a value and click "next" button. In this case you will have only one "Submit" button that will be shown on the last stage. You can use our built-in layout editor for forms to set a specific css class to the form widgets which will allow you to find then through jQuery and call Show/Hide methods.
Another option to access the form widgets is creating a custom class that inherits from FormsControl. In this class there is a public property - FieldControls which gives you all Fields.
Best wishes,
Ivan Dimitrov
the Telerik team
What is the current status of wizard-like forms? We are reviewing Sitefinity for use in our business solutions, and this is a must-have feature for us. If it does not support multi-page forms natively, we will have to write our own extensions if we choose Sitefinity.
- Got a server error and now there's a double post. This one can be deleted -