ianmartorell / meteor-accounts-ui-bootstrap-3

accounts-ui package with Bootstrap 3 and localization support
150 stars 109 forks source link

How would I customize the registration to include additional fields or alternate flow? #63

Closed aspiringpro closed 9 years ago

aspiringpro commented 9 years ago

I love what you have here but how do I customize the registration flow? I would like have the user click the REGISTER button and fill out a more extensive signup form. I want to verify the users email also and perhaps have a subscription based signup option.

aspiringpro commented 9 years ago

Can I just add a method onCreateUser to redirect to profile page for profile completion?

ianmartorell commented 9 years ago

The method onCreateUser only works on the server, so that wouldn't work for you. You can try the solutions listed here: http://stackoverflow.com/questions/24529098/route-go-on-account-creation-doesnt-work-meteor

If you wanted to make an extended or different signup form I'm afraid you'd have to make your own package, this is only a customized version of the default accounts-ui package. You can look into the Meteor source code for accounts-ui-unstyled to make your own (accounts-ui only holds the syles), or fork this package and modify it to suit your needs.