@umaworld No, it’s not true. I use hidden inputs frequently.
Laravel is just a server-side framework. A hidden input transmits its value when a form is submitted. They would be pretty useless if they didn’t send their values.
@martinbean I'm not asking about hidden inputs—I agree that they're commonly used and their values are captured when the form is submitted. My question is about disabled inputs, because their values aren't captured by the controller when the form is submitted.
I'm not asking about hidden inputs—I agree that they're commonly used and their values are captured when the form is submitted. My question is about disabled inputs, because their values aren't captured by the controller when the form is submitted.
Why are you disabling inputs if you actually want their values? And why are you hijacking @umaworld’s thread to ask about this, instead of creating your own thread with your question?
@UmaWorld How are you expecting that to work? Delete URIs have the ID in the URI itself; not passed as a form field. You should be changing the form action; not a hidden input’s value.
Put the task’s URI in the href of your link, and then change the deletion form’s action attribute to that value before submitting the form: