Answers.Body: <p>I'm wondering if using a webform might be a better solution. You could have a paginated webform using webform civicrm, that gets the data into CiviCRM. Then on the webform adnaced, do a redirect to the Drupal registration form with the email address prefilled using the Drupal Prepopulate module. </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-07T16:01:14.423Z
Answers.Text: That might be possible — I do have Webform installed and am looking at using that for some things... But is it possible to have the user registration processed when the webform is submitted, or would it just take them to the regular registration form (with the info pre-filled) and they would have to submit that manually? 
  
  Ease of use is a big priority on this site, so I want to avoid anything that could be confusing to users...
Answers.UserDisplayName: spidersilk
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-14T12:58:04.433Z
Answers.Text: It would have to go to the user reg form. You could prefil the form with the email address and a user name (I think, from my distant knowledge of prepopulate)
Answers.UserDisplayName: Tony Horrocks
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-05T18:10:51.123Z
Answers.LastActivityDate: 2020-01-05T18:10:51.123Z
Answers.UserDisplayName: Tony Horrocks
Body: <p>I'm working on a site using Drupal 7 with CiviCRM, and I created three CiviCRM profiles and added them to the Drupal user registration/account forms. I was expecting this to add three groups of fields (one with first and last name, one with the address, one with phone numbers) to the form, each with their own title. Which is what it initially appeared to do...</p>
  
  <p>But when I added a bit of styling to the fieldsets — specifically, setting each one off in its own shaded box to make them more visually distinct — to my surprise it turned out that each fieldset was nested inside the previous one! So rather than three boxes in a row, I have a box inside a box inside a box. Needless to say, it doesn't look good.</p>
  
  <p>Why is it structured this way? And is there any way to change it so that the three fieldsets are sequential instead of nested?</p>
  
  <p>BTW, if anyone's curious why I made three profiles instead of just putting all the fields in one, I am trying to have the form visually broken up into small bite-size pieces with friendly titles ("What's your name?", "Where do you live?", etc.) for greater ease of use, which is a priority on this particular site.</p>
  
  <p>Update: I think I've identified that the template that generates this form is /templates/CRM/Profile/Form/Dynamic.tpl, so theoretically it should be possible to make a custom version of it... But having perused the template, I still can't see what in it is making it nest the fieldsets that way! And I have no idea why it would be setup that way in the first place.</p>
  
Tags: <drupal><profile><forms><registration>
Title: Is there a way to prevent CiviCRM profile fieldsets from nesting inside each other?
ThreadText: # Is there a way to prevent CiviCRM profile fieldsets from nesting inside each other?
  
  (Asked by: username_0 on 2019-12-19)
  
  I'm working on a site using Drupal 7 with CiviCRM, and I created three CiviCRM profiles and added them to the Drupal user registration/account forms. I was expecting this to add three groups of fields (one with first and last name, one with the address, one with phone numbers) to the form, each with their own title. Which is what it initially appeared to do...
  
  But when I added a bit of styling to the fieldsets — specifically, setting each one off in its own shaded box to make them more visually distinct — to my surprise it turned out that each fieldset was nested inside the previous one! So rather than three boxes in a row, I have a box inside a box inside a box. Needless to say, it doesn't look good.
  
  Why is it structured this way? And is there any way to change it so that the three fieldsets are sequential instead of nested?
  
  BTW, if anyone's curious why I made three profiles instead of just putting all the fields in one, I am trying to have the form visually broken up into small bite-size pieces with friendly titles ("What's your name?", "Where do you live?", etc.) for greater ease of use, which is a priority on this particular site.
  
  Update: I think I've identified that the template that generates this form is /templates/CRM/Profile/Form/Dynamic.tpl, so theoretically it should be possible to make a custom version of it... But having perused the template, I still can't see what in it is making it nest the fieldsets that way! And I have no idea why it would be setup that way in the first place.
  
  **Tags:** drupal, profile, forms, registration
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-01-05. Score: 2
  
  I'm wondering if using a webform might be a better solution. You could have a paginated webform using webform civicrm, that gets the data into CiviCRM. Then on the webform adnaced, do a redirect to the Drupal registration form with the email address prefilled using the Drupal Prepopulate module.
  
  > **Comments:**
  > **username_0**: That might be possible — I do have Webform installed and am looking at using that for some things... But is it possible to have the user registration processed when the webform is submitted, or would it just take them to the regular registration form (with the info pre-filled) and they would have to submit that manually?   Ease of use is a big priority on this site, so I want to avoid anything that could be confusing to users...  
  > **username_1**: It would have to go to the user reg form. You could prefil the form with the email address and a user name (I think, from my distant knowledge of prepopulate)  
  
  ---
  
  