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

on success form submission you can redirect the user?

at the end of you controller try,

return redirect('/some/path');
0

astroanu said:

on success form submission you can redirect the user?

at the end of you controller try,

return redirect('/some/path');

Thank you for the guidance. Do I need to create a route for this ? Or will this work without it. Also being a newbie, I would like to know how to achieve :

After hitting search in a form with input "Kolkata, India " the URL Changes from ..."exelrate.dev/reviews" to exelrate.dev/reviews/India/kolkata" and when I hit this URL again, the results are refreshed.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

exelrate exelrate Joined 13 Oct 2015

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.