Hi there,
I use the forms for editor module with the "Create user on form submit" to create a new user. That works well but the user is always active. We like to deactivate the user on create so it can be approved and activated by an admin. Is this possible? I looked into hooking into OnAfterSubmitSave but that fires before the user is created. Then the user creation code called within SaveForm of the frontend module does't call any further notifications or allow me to set the user as inactive.
I also tried to add a field called UserManagement_Form_Active to the form and set it to false, but I can't map it to a user field in the Automatic value section.
Any other ideas on how to accomplish this?
Thanks!