<?php // Controller public function store() { $validator = Validator::make($data = Input::all()...
Hello, I need to have validation where two field in a table in exact this combination should be uniq...
Hi, I created a simple upload facility that will upload a file specifically a pdf file. Below is the...
Hi Everyone, I want to store the unique value of url in an account at any time. As per laravel docum...
Hi there, I'm using Redactor editor as WYSIWYG editor in my project. I have description field using...
I am having trouble encrypting my password that is being sent from my Android application to php, be...
How can I validate arrival and departure date where the arrival date should not be earlier than the...
Hi, I have the following rules: $rules = array( 'purchase_amount' => 'required|integer',...
Hey all, Since yesterday I've been trying to add a custom Validator class to handle certain fields....
public function store() { // validate $rules = [ 'username' => 'req...
Hi everyone, Im new to laravel and I don't know whats happening in my controller. I was trying to ha...
Hi, According to the Laravel documentation, I can do: 'email' => 'unique:users,email_address,10'...
Hi, I have two parameters that can have various values. One of the rules that I need to have is: &qu...
So I have two forms on a single page. Login (email, password) and register (username, email, passwor...
Can I do both static on dynamic blade? {{ HTML::script('js/fullscreensearch.js'); }} {{ HTML::script...
Hello, I try new class FormRequest on an file input. I have this class : <?php namespace App\Http...
As the title, I have a form with a lot of fields and I want to return form data quickly when my vali...
Hello, I'm trying to display an error message when login fails, I currently use this redirect when l...
when I tried to validate form field with number & min, min filter does not work properly. e.g. '...
I have a validation rule like this... required_if:field_name,field_value|date_format:m/d/Y|futureDat...
Solutions given in the past year. Excluding solutions from thread authors.
Select a tag below to filter the results
The Laravel portal for problem solving, knowledge sharing and community building.
The community