-
Route like question/{question} should do the work. Question/1, question/2, question/3 etc...
-
Simple way: in QuestionController@show method, pass a variable time to the view with a now() method, store it in your view with a hidden field - or directly in your view, use now() method to fill the hidden field's value -. And in your QuestionController@store (when reply is sent), verify the value of the field.
-
Less simple way: the same with session, so the visitor can't modify the html.
Aug 19, 2019
2
Level 1
Online quiz application
I am working on online quiz application in laravel 5.5 , and my most important requirement is
- question display one by one
- when i refresh page during exam it's return back to current page
- each question predefined time limit.
i study all the reference but second and third requirement can not full fill. please give me suggestion.
thank you
Level 13
Please or to participate in this conversation.