Support the ongoing development of Laravel.io →
Requests Input Forms
Last updated 2 years ago.
0

have u printed $submit manually ? what's in it...

Last updated 2 years ago.
0

$submit is the $_GET["submit"]

Last updated 2 years ago.
0

Form data will transmit as a query string when submitted, which is available in your controller through Input::all() and related functions. That's the simplest way. To pass the form data as part of the actual url, you will need to employ some javascript that will dynamically rewrite the form's action attribute when the form input changes. You could also use a route closure with a redirect that would pull the form data out of the query string and into your url.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Craytor craytor Joined 20 Mar 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.