how to validate form on post route with form request

Posted 3 years ago by umefarooq

Hi i have two forms, first form is posting user id to 2nd form which is fetching data and filling 2nd form, problem with Form request validation on 2nd form, here are my routes

Route::get('/','StudentController@index'); //form 1
Route::post('info/find','StudentController@findStudent'); // form2

on Form 2 after Form request validation test its trying to redirect back to as get request but i have post data in it, how i can redirect back to form 2 with post data and post response.

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.