How can I configure Account-password signup form for custom fields?


#1

Hi,

I have installed application with accounts-password. Now would like to add more fields in signup like Name, Data Of birth etc.

How can I do this? Please help me. I read documents, there is option to pass “USERNAME_AND_EMAIL” but I dont know where I have to edit config file.

Thanks


#2

If you are using the package accounts-password, you could use this to make creating accounts with an email and an username requirement:

Accounts.ui.config({passwordSignupFields: "USERNAME_AND_EMAIL"});

You could also use the useraccounts:core package with the guide here.