Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom fields in reg form #50

Open
bnxvs opened this issue Feb 19, 2023 · 7 comments
Open

Custom fields in reg form #50

bnxvs opened this issue Feb 19, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@bnxvs
Copy link

bnxvs commented Feb 19, 2023

Good day. Is it possible to add additional (custom) fields to the registration form? I edited your code for my application, but it's the wrong way ))) It would be very nice to be able to add some number of input fields without having to fix the code arbitrarily manually.
Thank you for your job! Well done!

@mkhorasani
Copy link
Owner

Hey @bnxvs, sure thing will try to implement this in a future release. Cheers!

@bnxvs
Copy link
Author

bnxvs commented Feb 19, 2023

Thank you! Have a nice day (night)! ))

@bnxvs
Copy link
Author

bnxvs commented Feb 19, 2023

If you allow me, I have another question: If you take out all the text (the buttons caption, field headers) in a separate JSON file to localize, it will greatly affect the speed of the plugin? I'd help with translation into some languages (Russian, Kazakh, Spanish)...

@mkhorasani
Copy link
Owner

That's an interesting idea indeed. Again will attempt to address these issues in a future release. Thank you!

@mkhorasani
Copy link
Owner

mkhorasani commented Jan 22, 2024

Hi @bnxvs, this feature has been implemented in release v0.3.1. You can now customize the text of the fields/headers/buttons of all the widgets by passing your own labels to the fields parameter of each widget.

@bosonie
Copy link

bosonie commented Mar 15, 2024

Hello @mkhorasani
I believe that this issue is not closed, since the request was to ADD fields to the registration form.
A typical use case would be to add the 'Institution' as a new field of the registration form. As far as I saw, this is not currently possible. Am I right? Do you think this feature can be added?
The solution can be as simple as interpreting new keywords defined in the fields parameter of register_user, with the caveat that we should then find a way fo make them available in the authenticator credentials.

@mkhorasani
Copy link
Owner

I believe you may be right! Sure will look into this for a future release.

@mkhorasani mkhorasani reopened this Mar 15, 2024
@mkhorasani mkhorasani added the enhancement New feature or request label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants