K
Kinde3mo ago
Matheus

Custom username field

I want the username field to be labeled as "CNPJ" (National Register of Legal Entities in Brazil). Is it possible to rename the field and enforce a validation pattern?
2 Replies
Ages
Ages2mo ago
Hi @Matheus , Thank you for your inquiry. Could you please clarify if the custom field is intended for the sign-in or sign-up page?
Ages
Ages3w ago
Hi @Matheus , I wanted to follow up on your inquiry regarding customizing the username field and enforcing a validation pattern for the "CNPJ" label. I had previously asked for clarification on whether this is intended for the sign-in or sign-up page, but I haven't received your response yet. In the meantime, if this customization is intended for both the sign-up and sign-in pages, you can implement a custom sign-up and sign-in page to tailor the authentication experience to your requirements. https://docs.kinde.com/authenticate/custom-configurations/custom-authentication-pages By creating a custom page, you can modify the username field label and apply a validation pattern that aligns with the CNPJ format. For instance, you might use a regular expression to ensure the input matches the CNPJ structure. https://kinde.com/blog/engineering/how-to-create-a-custom-sign-in-sign-up-form For detailed guidance on creating a custom sign-in/sign-up form, please refer to Kinde's documentation: https://kinde.com/blog/engineering/how-to-create-a-custom-sign-in-sign-up-form/ If you have any further questions or need additional assistance, please feel free to reach out
Kinde docs
Custom sign-up and sign-in pages
Our developer tools provide everything you need to get started with Kinde.
Kinde Blog
How to create a custom sign-in/sign-up form
Learn how to create custom branded sign in and sign up pages and integrate it seamlessly with Kinde’s authentication flow.
Kinde Blog
How to create a custom sign-in/sign-up form
Learn how to create custom branded sign in and sign up pages and integrate it seamlessly with Kinde’s authentication flow.

Did you find this page helpful?