One approach would be to use two forms and capture their registration information on the first form, then pre-populate the second form and direct them there immediately after registering them as a user with the first form. It would not have to look any different to the visitor, it would just be a process change on your end.
Alternatively, if you would really like to do this on going to the next page, you can use the gform_post_paging hook to run your own custom registration code:
I'm not sure what would happen at the end of the form if you already registered them after page one, but they did not leave the form and then actually completed it. Then, they would be registered and you would try to register them again. I would use two forms: one for the registration, early on, with a low barrier to submission by requiring minimal information, then redirect the visitor to form two, and pre-populate the information they gave you in the first form.
Posted 6 years ago on Wednesday October 10, 2012 | Permalink