cancel
Showing results for 
Search instead for 
Did you mean: 

How to insert Form Data into table?

How to insert Form Data into table?

Hi,

I have created table successfully but i have to insert Form Data into table when customer submit the form

 

Form Consist Of

Name

Email

Mobile

Date

Description

 

Thanks in Advance

1 REPLY 1

Re: How to insert Form Data into table?

Hi @sekhar_n 

 

You can insert a custom form data into database table by using Model, Resource Model in Magento 2. First you need a table and custom module to post form data to a controller and there you have to create save action.

 

I would suggest you to read this article

 

I hope it will help you.

 

Thanks

--

If my answer is useful, please Accept as Solution & give Kudos