The question is i want to create new account per user on the ethereum blockchain. I want to display a form where in the user will enter information and on clicking register, his account should be created. How can this be done?
With web3, once you are connected to the desired node, execute
newAddress = web3.personal.newAccount(password)
on submit/ click. Of-course, the
password, to be used in future to unlock account/ send transactions, should be from one of the fields in your form, and this will return the address of the account. Also, make sure your personal api is accessible from web3.