Modal as In Contact Form


Topic: Modal as In Contact Form

Shaden pro asked 7 years ago

The Modal is used to pass input values to form, and then post this values to Laravel controller, I always find that the input that was passed through the java script are not passed to the controller, only the ones I actually input on the modal are passed.   how can I retrieve all input values passed to the Modal in the controller?

Bartłomiej Malanowski staff pro premium commented 7 years ago

do you want to use js to send the data?

Shaden pro answered 7 years ago

Answered Myself, You have to make the input fields as type=”hidden”, if hey are text or any other will not be sent to controller
Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No