I have installed Laravel 6 with Backpack 4 and would like to add fields to the registration form, any idea what is the best way of doing this please?
Thank you.
To add fields to the registration page you have to override the register.blade.php (to add the fields in html) and the Auth/RegisterController to setup the validations etc.
Don't forget you will need also to add those fields to the model $fillable property.
Best,
Pedro
Related
i need funneling the subscriptions in my 1.7.6 Prestashop newsletter. I should add custom fiels in newsletter registration form. How can i do this?
Thanks a lot guys
I suggest you to use Module for creating new custom field. Because you are going to create also new table in the database as well. Then using the front controller to add new field.
You can read the official docs here:
https://devdocs.prestashop.com/1.7/modules/
https://devdocs.prestashop.com/1.7/modules/concepts/controllers/front-controllers/
I have one contact form in joomla site and for that i used aicontactsafe. in that required field validation is given but i need to add website validation in aicontactform.
can you give how it will posible in aicontact form
thanks in advance.
I know through custom fields we can add and assign the fields to registration form. But in that case its showing two times address,city etc. fields in user profile. Its happens because phpfox has address, city and so on fields in core product. So I need help to call that core product fields in signup form.....
Thank you in advance
Go to AdminCP -> Settings -> Manage Settings -> Registration. You can choose which fields show up in the registration form there.
I am new in magento. I want to create a custom registration module for seller in magento 1.5 or 1.6. There are needed two registration like one is general user, another seller. I don't know how magento's default registration module is built. I also don't know how to set up and how to connect between the form and the table like 'customer_entity_varchar' and other table.I think it follows MVC pattern like Joomla And also how to call the function from controller to model for writing "INSERT" sql query. If any one knows about it , please, guide me with giving links or doc.
Thank you.
You need to learn about creating a Magento Module.
Create a Magento Module Basics in Magento Module Development
Then you going to create an own registration controller for sellers.
Extend the customer entity by an attribute saying the customer status (seller|general) or use the Customer Groups Adding Attributes to Customers Entity (see for additional informations About EAV Attributes)
add custom attributes to sellers like in step 3.
I hope could help you!
I have displayed UserCreationForm and user profile form displayed on user registration page.
I want to add a I agree check box on registration page.
When I try to add a field that is not in model django gives error that I agree is not in model.
Any solution ??
Here is asked something similar, try to put
agree = forms.BooleanField()
in your model form. This should work. If not works for you, i need more details