Hi everyone,
Nowdays we have seen on all websites on their login screen there are three common fields which is username/email, password and New User registration like:

So I had created a login page:


And two sharepoint list UserInfo and Admin info based on the information I am navigating to their respective dashboard screens.
Now what I want to do is create new users using registration option and store the information in a list, how to do that?

The UserInfoList:

I have 2 Sharepoint list the userInfo list will be used to store the new user's information but then how to use specific field information from the userInfo list in the UserDetails list which is used to log in was another query that I had.
@v-jefferni
Regards,
Sidhant