Support the ongoing development of →
Views Laravel Blade
Last updated 2 years ago.

Do you mean on form submit or on the select of the drop down ?

If you want to run a method on drop down select you may have to use JavaScript to make a call to an endpoint and run your method in that endpoint and return the data you need to JavaScript . If it’s the value on form submit make a post route pointing at your controller method


Sign in to participate in this thread!


Your banner here too?

Charlie charlie023 Joined 19 Feb 2019


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

Your logo here?

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

© 2024 - All rights reserved.