lundi 27 novembre 2017

Do not submit form in laravel 5.5

i'm doing submit form in laravel but when i click button with type=submit, it's not work. here is my form in View:

<form action="" method="POST" role="form" id="activate-user">
        
        ........
            <button class="btn btn-primary" type="submit" form="activate-user">
                Okay, I'm done
            </button>
</form>

and here is my Route to access:

Route::post('p/activation/{slug}','Frontend\PetitionController@storeActivation')->name('petitions.storeActivation');

i do not redirect to another page when i submitted. Anyone help me!!!



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2zuCKkr
via IFTTT

Aucun commentaire:

Enregistrer un commentaire