One of my clients had multiple upcoming projects that need custom registration fields. The goal here was to make something reusable and configurable so that per tenant there can be easily configured custom registration fields.
-
A configuration (app-userproperties.json) based way to define custom fields per tenant for the registration page, manage user info page, and admin user edit pages so that the captured custom data can be viewed and optionally editable. It supports validation requirements per field currently supporting input, select, textarea, datepicker, and dateofbirthpicker, and read only label views. You can define custom views per property or choose from the ones already included.
-
The captured custom data is stored in a generic key value data store that could also be reused for other purposes.
-
You can add custom form fields automatically to views based on the config file without having to manually manage all the form elements in the views. We could also if needed make custom views per tenant because of the ability to add custom views per tenant already provided in cloudscribe Core. See how we are adding custom form fields in RegisterMiddle, UserInfoMiddle, and UserEditMiddle views with very little code.
-
Custom implementations of IHandleCustomRegistration, IHandleCustomUserInfo, and IHandleCustomUserInfoAdmin interfaces from cloudscribe Core process the additional form fields
The code in this solution was developed under sponsored open source development with funding provided by exeGesIS Spatial Data Management
If you are interested in sponsoring additional open source features for the cloudscribe ecosystem, please contact me
See the complete list of cloudscribe libraries on cloudscribe.com
If you have questions please visit our community forum https://www.cloudscribe.com/forum