Topic: Modal as In Contact Form
Shaden pro asked 6 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?
Shaden pro answered 6 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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- ForumUser: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags
Bartłomiej Malanowski staff commented 6 years ago
do you want to use js to send the data?