Support for multi-step forms
ashishn.cms - January 13, 2009 - 13:11
| Project: | Ajax |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | active |
Description
hello,
I am using ajax forms module in user registration i want some thing to get these post values after submitted on some different page.
Thanks

#1
Ashish11,
Can you explain your request in more detail, please?
Thanks
#2
i have a few multiform website functionality & i want form submited through ajax & iwant when first form is submitted then all the information that is submitted through ajax is display on second form so i want submitted values on next form but i am not getting these values when submited through ajax.
Thanks
#3
Ashish11,
Which modules are you using to achieve multiform functionality?
#4
i have user registration form then i will add content profile module to add fields after that i will do custom for another forms.
#5
Ashish11,
Ok, thanks. This module still does not work with multi-page forms. I will be working on adding this functionality in the next 1 - 2 weeks.
Thanks,
Brendon.
#6
#7
#8
#9
Ashish11,
Still working on multi-page forms. This may take a while.
#10
Well,
There is a lot more involved with this task than I thought. I am going to have to postpone this bug until I have a tremendous amount of time to figure this one out. I am terribly sorry.
#11
subscribing
#12
Attached are my patched ajax.js and ajax.module of the dev version which i've added support for multistep forms.
I dont know if it will work for everyone but it works for my form.
this ofcourse is for drupal 6.
what I did was to check if the rebuild flag is true, if so rebuild the form, and attach the rebuilt form in the json response.
in the ajax.js it checks if a new form is attached in the json response, and if so replaces the form with the new form.
works fine for me with the dev(the regular release doesnt work for me with more than one submit button,required for next/prev)
hope it helps.
#13
My understanding is that people are implementing multi-step forms in many different ways, using various modules. I need to know which module to work against, preferrably the most popular, stable solution.
Any ideas?
#14
Hi
using a fresh install of d6.12 and webforms 6.x-2.7.
built a simple form with multisteps using pagebreak form element as provided by webform module
installed Ajax module and replaced files with those from patch.zip above
updated the module
thought it might provide a way of loading the next step through ajax when clicking next but didnt seem to work
page broke and displayed an odd window, see image attached.
thought i'd let you know it didnt work in this scenario, would love to see it work though.
thanks
#15
This looks like a duplicate of "Issue with webform pagebreak field" (still unresolved, as well).