Support the ongoing development of Laravel.io →
Views Forms
Last updated 5 months ago.
0

It would help if you'd properly mark up your post. First glance, $answer should prob be #answer.

Last updated 5 months ago.
0

Sorry about the formatting.

Yes I fixed the issue around answer and reset the action and url using the following and that fixed the issue for me. Thanks for the help !

$("#submit2").click(function(e){
e.preventDefault();
$form = $(this).closest('form');
$form.attr('action', 'projects');
$form.submit();
});
Last updated 5 months ago.
0

Sign in to participate in this thread!

Cloudways

Your banner here too?

Moderators

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.

© 2022 Laravel.io - All rights reserved.