Support the ongoing development of Laravel.io →
Forms Validation
Last updated 6 months ago.
0

You need to use javascript to redirect. This doesn't work on mine too. Anyone?

0

The previous() method just gives you the last URL. On the first load this is obviously the page the user came from but after you've submitted your form this is the previous "form page" (because a request happened in between).

I'd say you have to put a real url on the cancel button. Are there multiple pages from which you can access your form?

0

Sign in to participate in this thread!

Cloudways

Your banner here too?

narfed narfed Joined 5 Sep 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.

© 2022 Laravel.io - All rights reserved.