Company Field on Register

Laraship QuestionsCategory: TechnicalCompany Field on Register
Vishal Verma asked 3 years ago
Hello, I want to add required company name field while registering user. Please suggest me the most appropriate way for that? Thanks
2 Answers
laraship Staff answered 3 years ago
Hello, You can override the login template and add your overridden fields, these fields can be stored inside the properties column. or you can create custom fields for users and append them to the login form  
laraship Staff answered 3 years ago
Hello  After adding the custom field in the admin dashboard, locate register.blade.php template inside your active theme,  and add the following field   
{!! CoralsForm::text('properties[company]','User::attributes.company',true) !!}

where company is your custom field ID and User::attributes.company is the translation