3

I need to create a user registration form in Drupal 7. My requirement is as follows:-

  1. I want to use the default Drupal 7 User Registration Form i.e admin/config/people/accounts

  2. Form must appear in popup/modal when user click on "Create new account" in User Login Form

  3. Form should be Multistep i.e there will be 3/4 steps of filling the form.

  4. Customize the form in such a way that UserName, Password and Email appears on last step of the form.

Please let me know if it is possible in Drupal 7 default user registration form and how?

0

2 Answers 2

1

You can try Field group

Fieldgroup will, as the name implies, group fields together. All fieldable entities will have the possibility to add groups to wrap their fields together. Fieldgroup comes with default HTML wrappers like vertical tabs, horizontal tabs, accordions, fieldsets or div wrappers.

Available group types

  • Fieldsets
  • Horizontal tabs
  • Vertical tabs
  • Accordions
  • Divs
  • Multipage steps: Note: This is only client side.

The idea is to use Multipage steps to make the form steps.

2
  • I tried "Multipage Steps" of Field group in user registration page but no luck. All I am able to see all the group contents in one page rather than showing in different pages. It works good when implemented in creation of content types but did not succeed when work in default Drupal 7 User Registration Form Dec 13, 2012 at 13:07
  • Here i found something drupal.org/node/999420
    – niksmac
    Dec 13, 2012 at 13:30
1

Go through the Tutorial: Ten Step-by-Step Code Samples for Learning Form API, and check with Forms API.

or the following link : Building a Multistep Registration Form in Drupal 7.

2
  • I am looking for some available modules which can be implemented as Multisteps in default user registration in Drupal 7. Please let me know if any existing module is available as solution. Dec 13, 2012 at 13:10
  • I fallowed same as in link Building a Multistep Registration Form in Drupal 7. but when i fill values in step1 and go to step2 and again come to step1, the values filled previously in step1 not showing.Please suggest me how to sort out this issue
    – Fawwad
    Apr 22, 2016 at 5:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.