kavi

kavi

Member Since 1 Year Ago

Experience Points 90
Experience Level 1

4,910 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed 0
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

30 Oct
1 year ago

kavi left a reply on Contact Form Validation Error

I removed my section of content it worked fine, but the navbar went to the below of the screen. Can someone help me with that, i'll post the html code as well, Thank you guys

kavi left a reply on Contact Form Validation Error

Tried both, both didn't work, but i made another something is wrong, is it because of laravel version 5.5.0

29 Oct
1 year ago

kavi left a reply on Contact Form Validation Error

@ejdelmonico I tried all of that, then i tried it all over by making everything over and still the same error, this time my laravel version was 5.5.0 but they don't have collectives for it now. my contact keeps using get request instead of post, please help

28 Oct
1 year ago

kavi left a reply on Contact Form Validation Error

@kfirba I did that, please check if you can help me now, @mushood i tried with that as well, got the same error, @ejdelmonico please check it again and let me know, why isn't my url going to /submit page, I'm using laravel 5.4.22 version

27 Oct
1 year ago

kavi started a new conversation Contact Form Validation Error

My html code

             ```    <!DOCTYPE html>
                            <html>
                            <head>
                            <title>Dradz</title>
        <link rel="stylesheet" type="text/css" href="/css/app.css">
        </head>
            <body>
                    @include('inc.navbar')
                <div class="container">
                @if(Request::is('/'))
                @include('inc.showcase')
                    @endif
                <div class="row">
                <div class="col-md-8 col-lg-8">
                    @yield('content')
                        </div>
                <div class="col-md-4 col-lg-4">
                @include('inc.sidebar')
                    @show
                        </div>
                </div>
                </div>
        <footer id="footer" class="text-center">
            <p>Copyright 2017 &copy; Dradz</p>
                </footer>
                    </body>
                            </html>

My codes - Route

<?php

Route::get('/', function () {
    return view('home');
});

Route::get('/about', function () {
    return view('about');
});

Route::get('/contact', function () {
    return view('contact');
});

Route::post('/contact/submit', '[email protected]');

  

Messages Controller -


namespace App\Http\Controllers;

use Illuminate\Http\Request;

class MessagesController extends Controller


{
    public function submit(Request $request){
        $this->validate($request, [
            'name' => 'required',
            'email' =>'required'
        ]);
        return 'SUCCESS';
    }
};
               ```

Contact form 

``` @extends('layouts.app')

@section('content')
    <H1>Contact</H1>
<form action="{{ route('contact.submit') }}" method="POST">
    {{ csrf_field() }}
    <div class="form-group">
        {!! Form::label('name', 'Name') !!}
        {!! Form::text('name',' ',  ['class' => 'awesome form-control', 'placeholder' => 'Enter name'] ) !!}
      </div>
      <div class="form-group">
        {!! Form::label('email', 'E-Mail Address') !!}
        {!! Form::text('email',' ' ,  ['class' => 'awesome form-control', 'placeholder' => 'Enter Email id']) !!}
      </div>
       <div class="form-group">
        {!! Form::label('messages', 'Message') !!}
        {!! Form::textarea('message','' , ['class' => 'form-control', 'placeholder' => 'Enter your message here']) !!}
      </div>
      <div>
        {!! Form::submit('Submit', ['class'=> 'btn btn-primary']) !!}
      </div>
        {!! Form::close() !!};
@endsection ```


I am getting this error
``` Action App\Http\Controllers\[email protected] not defined. (View: C:\xampp\htdocs\basicwebsite\resources\views\contact.blade.php)                      ```
and my contact form does not submit on clicking the button instead i get ```http://basicwebsite.dev/contact?_token=aWNGxdMuYY8HiDjuKYnxRDkkFPYLlmk8veim7rWN&name=+&email=+&message=``` On my url