Support the ongoing development of Laravel.io →
Views Forms
Last updated 1 year ago.
0

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

Last updated 1 year 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 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.