FormRequest Validation Error in Laravel 5.5Laravel 5.5 FormRequest custom error messages validation not workingLaravel 5.5 FormRequest Validation with AjaxFform metod returns a blank pageLaravel : How to submit a registration using a bootstrap Modal?laravel 5.5 | old() empty in view unless $request->flash() usedGrouping all the laravel application routes using dynamic prefixImplementing native multi auth (user vs admin) using guards in Laravel 5.5 - guest middle ware uses hard coded named routeLaravel middleware 'api' MethodNotAllowedHttpExceptionLaravel 5.5 Request ValidationsTime validation in Laravel 5.5

[Cannot read property 'setParams' of null]

Another student has been assigned the same MSc thesis as mine (and already defended)

Is determiner 'a' needed here?

Role of "einfach" in a certain context

How can I model regression with an asymmetric loss function?

Why would an airline put 15 passengers at once on standby?

Why is a road bike faster than a city bike with the same effort? How much faster it can be?

Installation of ImageMagick software fails with "configure: error: libltdl is required"

Does variance make sense in a fully immutable language?

Is there a relationship between prime numbers and music?

How many stack cables would be needed if we want to stack two 3850 switches

What is Weapon Handling?

How to stop the death waves in my city?

A famous scholar sent me an unpublished draft of hers. Then she died. I think her work should be published. What should I do?

Why does Captain Marvel in the MCU not have her sash?

I transpose the source code, you transpose the input!

Buying a bond before coupon?

Why is STARTTLS still used?

Do interval ratios take overtones into account or solely the fundamental frequency?

Top off gas with old oil, is that bad?

Can I build a half bath without permits?

How can the dynamic linker/loader itself be dynamically linked as reported by `file`?

Can I exile my opponent's Progenitus/True-Name Nemesis with Teferi, Hero of Dominaria's emblem?

After viewing logs with journalctl, how do I exit the screen that says "lines 1-2/2 (END)"?



FormRequest Validation Error in Laravel 5.5


Laravel 5.5 FormRequest custom error messages validation not workingLaravel 5.5 FormRequest Validation with AjaxFform metod returns a blank pageLaravel : How to submit a registration using a bootstrap Modal?laravel 5.5 | old() empty in view unless $request->flash() usedGrouping all the laravel application routes using dynamic prefixImplementing native multi auth (user vs admin) using guards in Laravel 5.5 - guest middle ware uses hard coded named routeLaravel middleware 'api' MethodNotAllowedHttpExceptionLaravel 5.5 Request ValidationsTime validation in Laravel 5.5






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0
















// ValidationFormRequest.php
public function rules()

return [
'value' => 'required

// web.php
$this->group(['middleware' => ['auth'], 'namespace' => 'Admin', 'prefix' => 'admin'], function()

$this->get('transfer', 'BalanceController@transfer')->name('balance.transfer');
$this->post('confirm-transfer', 'BalanceController@confirmTransfer')->name('confirm.transfer');
$this->post('transfer', 'BalanceController@transferStore')->name('transfer.store');

);

// BalanceController.php

public function transfer()

return view('admin.balance.transfer');


public function confirmTransfer(Request $request, User $user)

// ...

return view('admin.balance.transfer-confirm', compact('sender', 'balance'));


public function transferStore(ValidationFormRequest $request)

// ...




How can I make validation using FormRequest when the source form has no route in web.php?



The error is occurring in route "transfer.store":



Symfony Component HttpKernel Exception MethodNotAllowedHttpException No message



Thank you for your help.................










share|improve this question






























    0
















    // ValidationFormRequest.php
    public function rules()

    return [
    'value' => 'required

    // web.php
    $this->group(['middleware' => ['auth'], 'namespace' => 'Admin', 'prefix' => 'admin'], function()

    $this->get('transfer', 'BalanceController@transfer')->name('balance.transfer');
    $this->post('confirm-transfer', 'BalanceController@confirmTransfer')->name('confirm.transfer');
    $this->post('transfer', 'BalanceController@transferStore')->name('transfer.store');

    );

    // BalanceController.php

    public function transfer()

    return view('admin.balance.transfer');


    public function confirmTransfer(Request $request, User $user)

    // ...

    return view('admin.balance.transfer-confirm', compact('sender', 'balance'));


    public function transferStore(ValidationFormRequest $request)

    // ...




    How can I make validation using FormRequest when the source form has no route in web.php?



    The error is occurring in route "transfer.store":



    Symfony Component HttpKernel Exception MethodNotAllowedHttpException No message



    Thank you for your help.................










    share|improve this question


























      0












      0








      0









      // ValidationFormRequest.php
      public function rules()

      return [
      'value' => 'required

      // web.php
      $this->group(['middleware' => ['auth'], 'namespace' => 'Admin', 'prefix' => 'admin'], function()

      $this->get('transfer', 'BalanceController@transfer')->name('balance.transfer');
      $this->post('confirm-transfer', 'BalanceController@confirmTransfer')->name('confirm.transfer');
      $this->post('transfer', 'BalanceController@transferStore')->name('transfer.store');

      );

      // BalanceController.php

      public function transfer()

      return view('admin.balance.transfer');


      public function confirmTransfer(Request $request, User $user)

      // ...

      return view('admin.balance.transfer-confirm', compact('sender', 'balance'));


      public function transferStore(ValidationFormRequest $request)

      // ...




      How can I make validation using FormRequest when the source form has no route in web.php?



      The error is occurring in route "transfer.store":



      Symfony Component HttpKernel Exception MethodNotAllowedHttpException No message



      Thank you for your help.................










      share|improve this question















      // ValidationFormRequest.php
      public function rules()

      return [
      'value' => 'required

      // web.php
      $this->group(['middleware' => ['auth'], 'namespace' => 'Admin', 'prefix' => 'admin'], function()

      $this->get('transfer', 'BalanceController@transfer')->name('balance.transfer');
      $this->post('confirm-transfer', 'BalanceController@confirmTransfer')->name('confirm.transfer');
      $this->post('transfer', 'BalanceController@transferStore')->name('transfer.store');

      );

      // BalanceController.php

      public function transfer()

      return view('admin.balance.transfer');


      public function confirmTransfer(Request $request, User $user)

      // ...

      return view('admin.balance.transfer-confirm', compact('sender', 'balance'));


      public function transferStore(ValidationFormRequest $request)

      // ...




      How can I make validation using FormRequest when the source form has no route in web.php?



      The error is occurring in route "transfer.store":



      Symfony Component HttpKernel Exception MethodNotAllowedHttpException No message



      Thank you for your help.................







      laravel-5.5






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 28 at 18:51









      AnpeironAnpeiron

      186 bronze badges




      186 bronze badges

























          0






          active

          oldest

          votes














          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );














          draft saved

          draft discarded
















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55404927%2fformrequest-validation-error-in-laravel-5-5%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55404927%2fformrequest-validation-error-in-laravel-5-5%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript