Timeline for How do I pre-populate the login/sign up form?
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:46 | history | edited | CommunityBot |
replaced http://drupal.stackexchange.com/ with https://drupal.stackexchange.com/
|
|
Sep 10, 2016 at 0:37 | comment | added | SamNeupa | No Sssweat, that may not quite work or I am not following you. The event info would be dynamically be filled into the login/sign up form. Not trying to get some fields to have a default value. To reiterate, some one clicks on Register an event, then the event info would be auto filled in the sign up form where they will continue filling other info. | |
Sep 10, 2016 at 0:32 | comment | added | SamNeupa | Kevin, this might be a workable solution but not sure if I followed you correctly. Are you suggesting to make the registration form as one of the profiles and when people click on to sign up, that data would carry over to the actual sign up form. Can you clarify please! Just as a reminder, the question: some one clicks on Register an event, then the event info would be auto filled in the sign up form where they will continue filling other info. | |
Sep 10, 2016 at 0:32 | comment | added | No Sssweat | @SamNeupa go to Manage Fields and edit the field in question, you should see a default value box there. | |
Sep 10, 2016 at 0:16 | comment | added | Kevin | Only because you can create a Profile (lets say, Registration) and set that to appear on the user register form. Then when the user is authenticated later, signing up for events, the data is attached within the current user object. In a form_alter, you can load the profile2 entity for the current user. Event registration can take so many forms, its a real case by case scenario. | |
Sep 10, 2016 at 0:07 | history | edited | No Sssweat | CC BY-SA 3.0 |
added 344 characters in body
|
Sep 9, 2016 at 23:52 | comment | added | SamNeupa | Hey Kevin, I'm making a heavy use of profile2 later once they sign up. But the prepopulate thing is where I am stuck right now. Thanks for the suggestion. | |
Sep 9, 2016 at 23:49 | comment | added | Kevin | If this is Drupal 7, that is more up Profile2's alley. | |
Sep 9, 2016 at 23:46 | comment | added | SamNeupa | To be honest, I haven't thought of using hook_form_alter(). I extended login form, I meant I have added extra field I need. I was looking for a point n click/ configuration type of solution. So, the question still exist if someone clicks on register how would we take the event info and pre load that into the login/sign up form. | |
S Sep 9, 2016 at 23:45 | history | suggested | acrosman | CC BY-SA 3.0 |
later -> alter and a couple formatting things
|
Sep 9, 2016 at 23:45 | review | Suggested edits | |||
S Sep 9, 2016 at 23:45 | |||||
Sep 9, 2016 at 23:38 | history | answered | No Sssweat | CC BY-SA 3.0 |