Developer forum

Forum » Templates » New user from form

New user from form

Thomas Schroll
Reply

Hi

I have created a form that also creates a new user by including a subscribe to newsletter checkbox, but the only fields that are created in user management are email, name and username. Is it possible to also include address, phone etc. when creating the new user?

Regards Thomas

 

 


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Thomas

 

Currently not when using the forms module. Only option would be to make a notification subscriber or a form save provider that handles that.

 

You could also consider using the user management module frontend - it can do all the stuff for creating a new user.

 

BR Nicolai

 
Thomas Schroll
Reply

Thanks Nicolai

I just want the user created because of the newsletter. The user will not receive a password and there will not be password protected content. How about the UserManagement.User.EmailAllowed.Input field. Is there any way I can activate that field, perhaps using razor?

I do not know how to make a notification subscriber so I would prefer not taking that route.

Regards Thomas

 

 

 

 

You must be logged in to post in the forum