Support the ongoing development of Laravel.io →
Input Forms
Last updated 1 year ago.
0

Firstly, make sure that the modal fields are wrapped inside the <form> element. I could be that your modal HTML is not inside the form tags which would explain why it isn't being submitted.

However if this is not the case and the fields are within the <form> element then chances are when the modal is set to display:none; the form ignores those fields and treats them as disabled. If this is the case you would need to pass the values of the modal fields into hidden inputs inside your form, and use the $.modal.close callback to pass the data that way.

I'm not sure if the second one applies but something in the back of my mind tells me this could be the case.

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

asmaakam asmaakam Joined 27 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.