I'm working on a sign up page where i want to separate the input field for first name and last name. Based on the documentation, it doesn't seem to be possible, so i wanted to check if it is possible in some way/a workaround that isn't mentioned in the documentation?
The user part in Appwrite is pretty much done for you, meaning any changes you want to do will usually go outside of the user realm.
For your use-case you can
- ☑️ Set these details in the
user-prefenecesobject https://appwrite.io/docs/client/account?sdk=web-default#accountUpdatePrefs - Set these details in a separate collection
- Set it as the user name and use split it at runtime
user.name.split(' ')
Alright, gonna try this. Thanks @Binyamin !
Recommended threads
- Appwrite (Dart SDK) (for package_info_pl...
Hi team! Many Flutter plugins now need package_info_plus 10.x and device_info_plus 13.x, but appwrite 25.4.0 still constrains package_info_plus: >=8.0.2 <10.0...
- Images/Videos in storage appearing broke...
I am running into a storage issue after upgrading my self-hosted Appwrite instance , all of my previously uploaded images and videos are now showing as broken i...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...