How to add custom fields in betterauth signup

Hi everyone! I’m working with BetterAuth and noticed that the signup form only provides a single name field by default. I’d like to customize it to have separate First Name and Last Name fields while using the provided files as a starting point. How can I add these custom fields to the signup form without breaking the existing functionality? Any guidance
2 Replies
Furkan Özay
Furkan Özay2d ago
Hello, as explained in this example https://www.better-auth.com/docs/concepts/database#2-after-hook @Nitinchowdary
Database | Better Auth
Learn how to use a database with Better Auth.
Nitinchowdary
NitinchowdaryOP2d ago
@Furkan Özay Thanks for the help.

Did you find this page helpful?