daniels

daniels

intern at student

Member Since 2 Years Ago

amuria

Experience Points
4,380
Total
Experience

620 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
41
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start your 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-in-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 Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist 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.

Level 1
4,380 XP
May
28
4 days ago
Activity icon

Started a new Conversation Submit Laravel Form Data Using Jquery Wizard Form

i have no knowledge on jquery, but the project is using a wizard form on the frontend, i need to submit the form data but i have failed, i tried looking on how to all in vain.

On the console it fires and button submit event.

this is the jquery function. the form originally submitted a external php email file.

    "use strict";
    $('form#wrapped').attr('action', ' ** to point to admissions.store route ** ');
    $("#wizard_container").wizard({
        stepsWrapper: "#wrapped",
        submit: ".submit",
        unidirectional: false,
        beforeSelect: function(event, state) {
            if ($('input#website').val().length != 0) {
                return false;
            }
            if (!state.isMovingForward)
                return true;
            var inputs = $(this).wizard('state').step.find(':input');
            return !inputs.length || !!inputs.valid();
        }
    }).validate({
        errorPlacement: function(error, element) {
            if (element.is(':radio') || element.is(':checkbox')){
                error.insertBefore(element.next());
            } else {
                error.insertAfter(element);
            }
        }
    });
    //  progress bar
    $("#progressbar").progressbar();
    $("#wizard_container").wizard({
        afterSelect: function(event, state) {
            $("#progressbar").progressbar("value", state.percentComplete);
            $("#location").text("" + state.stepsComplete + " of " + state.stepsPossible + " completed");
        }
    });
});

$("#wizard_container").wizard({
    transitions: {
        branchtype: function($step, action) {
            var branch = $step.find(":checked").val();
            if (!branch) {
                $("form").valid();
            }
            return branch;
        }
    }
});


// Input name and email value
function getVals(formControl, controlType) {
    switch (controlType) {

        case 'name_field':
            // Get the value for input
            var value = $(formControl).val();
            $("#name_field").text(value);
            break;

        case 'email_field':
            // Get the value for input
            var value = $(formControl).val();
            $("#email_field").text(value);
            break;
    }
}```

i already have form setup correctly with post method and my form action to a store function on my controller.


How do i adapt this to send the form data to the database. Data manipulations will only be handled from admin not frontend so am not worried with other actions i.e update, delete, edit. i have had multiple endounters with wizard form and always stuck at it please any help will be ok.
May
23
1 week ago
Activity icon

Commented on What We're Building

Am not patient. Bring it on

Apr
08
1 month ago
Activity icon

Commented on Expanding The Timeline

all was well until this error pops up

Facade\Ignition\Exceptions\ViewException Trying to get property 'follows' of non-object (View: C:\xampp\htdocs\tweety\resources\views_friends-list.blade.php)

public function timeline() { $friends = $this->follows()->pluck('id'); return Tweet::whereIn('user_id', $friends)->orWhere('user_id', $this->id)->latest()->get(); }

what have i missed??

Apr
07
1 month ago
Activity icon

Started a new Conversation Trying To Get Property Of Non-object - I Just Want Some Clarity Here.

public function edit(User $user) { $roles = Role::all();

    return view('admin.users.edit', compact('user', 'roles')); THIS WORKS  

    return view('admin.users.edit')->with(['user' => '$user', 'roles' => '$roles']); THIS FAILS
}

on my view I have this

<div class="card-header">Edit User {{ $user->name }}</div>

I know I have resourced but have not gotten the workings so please just enlight me on why it happens so. am using laravel 7 windows 10 xampp

Jan
07
4 months ago
Activity icon

Replied to (Swift_TransportException(code: 0): Connection To Tcp://server.example.com:465 Timed Out

am running into this issue also what did you use, was it incomming or outgoing on the env file. THANKS