Laravael PHP, JavaScript help needed

Laravael PHP, JavaScript help needed

First, I am developer for C, C++, C#, Android and Swift but I have absolutly no experience in JavaScript or PHP or Web development.

First, I am developer for C, C++, C#, Android and Swift but I have absolutly no experience in JavaScript or PHP or Web development.

I bought some source code for my backend server. It is kind of shop where I can enter products and store them. Now, I got everthying to work (even with 0 knowdlege in web development), but there is a text input field which checks for integer values. I want to insert decimal values like a price information, e.g. 19.99. It then complains that it has to be 19 or 20. I can not find the place where to change that or which class/function is responsible for checking that entered value. There is something called Blade. It is in HTML and javaScript as it seems to me. I can not find any class or a route to a file where the entered values go and get checked. I don't even know which class/file is responsible for writing the values to the database. I mean, wtf? It can not be that complicated to find out which file is responsible to handle the entered values. It drives me crazy. 

That is the input which only takes integer values.

This is the blade code:

{{-- resources/views/admin/dashboard.blade.php --}}
@extends('adminlte::page')

@section('title', 'Products')

@include('parts.header')

@section('content_header') <div class="col-md-12"> <h2>Add new product</h2> </div>

@stop

@section('content') <div class="row"> <div class="col-sm-12"> <form method="post" action="{{ route('product.add') }}" enctype="multipart/form-data"> {{ csrf_field() }}

            @if(!$errors-&gt;isEmpty())
                &lt;div class="alert alert-danger alert-dismissible"&gt;
                &lt;button type="button" class="close" data-dismiss="alert" aria-hidden="true"&gt;×&lt;/button&gt;
                &lt;h4&gt;&lt;i class="icon fa fa-ban"&gt;&lt;/i&gt; Alert!&lt;/h4&gt;
                    @foreach ($errors-&gt;all() as $error)
                        &lt;div&gt;{{ $error }}&lt;/div&gt;
                    @endforeach
                 &lt;/div&gt;
            @endif

        &lt;div class="col-sm-12"&gt;
            &lt;div class="box box-primary"&gt;
                &lt;div class="box-header with-border"&gt;
                    &lt;h3 class="box-title"&gt;Details&lt;/h3&gt;
                &lt;/div&gt;
                &lt;!-- /.box-header --&gt;
                &lt;!-- form start --&gt;
                &lt;form role="form"&gt;
                    &lt;div class="box-body"&gt;
                        &lt;div class="row"&gt;
                            &lt;div class="col-sm-4 form-group "&gt;
                                &lt;label for="name"&gt;Name&lt;/label&gt;
                                &lt;input type="text" name="name" class="form-control" id="name" placeholder="Enter name" required&gt;
                            &lt;/div&gt;
                            &lt;div class="col-sm-4 form-group "&gt;
                                &lt;label for="name"&gt;Description&lt;/label&gt;
                                &lt;input type="text" name="description" class="form-control" id="name" placeholder="Enter description" required&gt;
                            &lt;/div&gt;
                            &lt;div class="col-sm-3 form-group "&gt;
                                &lt;label for="category"&gt;Select category&lt;/label&gt;
                                &lt;select name="category_id" class="form-control" required&gt;
                                    &lt;option value="" disabled selected&gt;Select your option&lt;/option&gt;
                                    @foreach($categories as $category)
                                        &lt;option value="{{ $category-&gt;id }}"&gt;{{ $category-&gt;name }}&lt;/option&gt;
                                    @endforeach
                                &lt;/select&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                        &lt;div class="row"&gt;
                            &lt;div class="col-sm-4 form-group"&gt;
                                &lt;label for="price"&gt;Price&lt;/label&gt;
                                &lt;input type="number" name="price" class="form-control" id="price" placeholder="Enter price" required&gt;
                            &lt;/div&gt;
                            &lt;div class="col-sm-4 form-group"&gt;
                                &lt;label for="amount"&gt;Amount&lt;/label&gt;
                                &lt;input type="number" name="amount" class="form-control" id="amount" placeholder="Enter amount" required&gt;
                            &lt;/div&gt;
                            &lt;div class="col-sm-3 form-group"&gt;
                                &lt;div class="row"&gt;
                                    &lt;div class="col-sm-6"&gt;
                                        &lt;img id="myImg" alt="" style="width: 100%;"&gt;
                                    &lt;/div&gt;
                                    &lt;div class="col-sm-6"&gt;
                                        &lt;label for="image"&gt;Image&lt;/label&gt;
                                        &lt;input class="fullwidth input rqd" type="file" name="image" id="image" accept="image/*" onclick="fileClicked(event)" onchange="fileChanged(event)" required&gt;
                                        &lt;div id="log"&gt;&lt;/div&gt;
                                    &lt;/div&gt;
                                &lt;/div&gt;
                            &lt;/div&gt;

                        &lt;/div&gt;


                        &lt;div class="row"&gt;
                            &lt;div class="col-sm-6"&gt;
                                &lt;h4&gt;Variations&lt;/h4&gt;
                                &lt;div class="box-body table-responsive no-padding"&gt;
                                    &lt;table id="variationTable" class="table table-bordered table-hover dataTable" role="grid"&gt;
                                        &lt;thead&gt;
                                        &lt;tr role="row"&gt;
                                            &lt;th rowspan="1" colspan="1"&gt;#&lt;/th&gt;
                                            &lt;th rowspan="1" colspan="1"&gt;Owner&lt;/th&gt;
                                            &lt;th rowspan="1" colspan="1"&gt;Remove&lt;/th&gt;
                                        &lt;/tr&gt;
                                        &lt;/thead&gt;
                                        &lt;tbody&gt;

                                        &lt;tr role="row" class="odd"&gt;
                                            &lt;td&gt;1&lt;/td&gt;
                                            &lt;td&gt;
                                                &lt;input type="text" name="owner_id[]" placeholder="Enter owner" required&gt;
                                            &lt;/td&gt;
                                            &lt;td&gt;
                                                &lt;i class="fa fa-fw fa-remove"&gt;&lt;/i&gt;
                                            &lt;/td&gt;
                                        &lt;/tr&gt;
                                        &lt;/tbody&gt;
                                    &lt;/table&gt;
                                &lt;/div&gt;
                                &lt;button type="button" class="btn btn-default btn-sm addrow pull-right" style="height: 34px;"&gt;
                                    &lt;span class="glyphicon glyphicon-plus-sign"&gt;&lt;/span&gt; Add
                                &lt;/button&gt;
                                &lt;div class="clearfix"&gt;&lt;/div&gt;

                                &lt;div&gt;
                                    &lt;button type="submit" class="btn btn-primary"&gt;Submit&lt;/button&gt;
                                &lt;/div&gt;
                            &lt;/div&gt;
                            &lt;div class="col-sm-6"&gt;
                                &lt;h4&gt;Siblings&lt;/h4&gt;


                                &lt;div class="form-group"&gt;
                                    &lt;select name="siblings[]" class="form-control select2" multiple&gt;
                                        @foreach($products as $product)
                                            &lt;option value="{{ $product-&gt;id }}"&gt;{{ $product-&gt;name }} &lt;/option&gt;
                                        @endforeach
                                    &lt;/select&gt;
                                &lt;/div&gt;


                            &lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                    &lt;!-- /.box-body --&gt;
                &lt;/form&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/form&gt;
&lt;/div&gt;

</div> @stop

@section('js') @include('parts.footer'); @stop

Can somebody tell me where to find the code which handles the input? Where to find the function which checks for integer? I really searched every file, but somehow I am too stupid for that web stuff.

There is something like a class mentioned: col-sm-4 form-group but I can not find it?!?

Thanks.

Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

PHP variable to JavaScript In Laravel

In PHP, there is always a limitation on pass PHP variable to the javascript file. Many PHP developers, face this issue. But Laravel has one package which is directly set the variable in js. So, you can use this package for passing a variable from controller to javascript.

Laravel 7 Tutorial For Beginners - Using Core Javascript

Todo list mini project. In this Laravel 7 tutorial for beginner we will see how to make a todo item completed mini project using Laravel 7. Using Core Javascript

Generate Laravel route URLs from JavaScript with Laroute

Laroute is a Laravel package that allows us to port our routes over to JavaScript, and gives us a bunch of very familiar helper functions to use