Quantcast
Channel: Active questions tagged users - Drupal Answers
Viewing all articles
Browse latest Browse all 453

Multipage registration form with Ctools

$
0
0

I'm trying to follow the tutorial on multipage user registrations at http://www.grasmash.com/article/building-multistep-registration-form-drupal-7-using-ctools, but I'm doing something wrong. As it's written, if I put function hook_form_user_register_alter(&$form, &form_state) {, it throws me a Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE error; however, if I change the &form_state to &$form_state, it doesn't complain.

HOWEVER

It seems as if this form isn't replacing the existing form. There's a button added to the registration form Create new account (the standard Drupal continue button is still there). The rest of the standard Drupal form is still the same (just username and password fields).

Thanks for your help


Viewing all articles
Browse latest Browse all 453

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>