Support the ongoing development of Laravel.io →

787 Threads

Input::all() and Storing user issue with password_confirmation field

<?php // Controller public function store() { $validator = Validator::make($data = Input::all()...

0 Likes
5 Replies
posted 10 years ago

Two field in combination should be unique in Database

Hello, I need to have validation where two field in a table in exact this combination should be uniq...

0 Likes
7 Replies

File Uploaded was not in directory

Hi, I created a simple upload facility that will upload a file specifically a pdf file. Below is the...

0 Likes
3 Replies

Model unique static rule with a conditon

Hi Everyone, I want to store the unique value of url in an account at any time. As per laravel docum...

0 Likes
0 Replies

Conflict between Redactor and withInput() in Laravel

Hi there, I'm using Redactor editor as WYSIWYG editor in my project. I have description field using...

0 Likes
14 Replies
Solved

How to decrypt hash password using normal pHp?

I am having trouble encrypting my password that is being sent from my Android application to php, be...

0 Likes
2 Replies

Date Validation

How can I validate arrival and departure date where the arrival date should not be earlier than the...

0 Likes
0 Replies
posted 10 years ago

how to validate that one parameter is less or equal to another?

Hi, I have the following rules: $rules = array( 'purchase_amount' => 'required|integer',...

0 Likes
1 Replies
Solved

Custom Validator class methods don't exist

Hey all, Since yesterday I've been trying to add a custom Validator class to handle certain fields....

0 Likes
2 Replies
posted 10 years ago

Password confirmed problem

public function store() { // validate $rules = [ 'username' => 'req...

0 Likes
4 Replies

No file get in the uploading of file

Hi everyone, Im new to laravel and I don't know whats happening in my controller. I was trying to ha...

0 Likes
0 Replies
posted 10 years ago

Forcing A Unique Rule To Ignore A Given ID

Hi, According to the Laravel documentation, I can do: 'email' => 'unique:users,email_address,10'...

0 Likes
1 Replies
Solved
posted 10 years ago

How to define custom vlidation rules

Hi, I have two parameters that can have various values. One of the rules that I need to have is: &qu...

0 Likes
2 Replies
Solved

Multiple forms with same names on one page

So I have two forms on a single page. Login (email, password) and register (username, email, passwor...

0 Likes
3 Replies

Can I do both static on dynamic blade?

Can I do both static on dynamic blade? {{ HTML::script('js/fullscreensearch.js'); }} {{ HTML::script...

0 Likes
1 Replies

Laravel 5 FormRequest file input

Hello, I try new class FormRequest on an file input. I have this class : <?php namespace App\Http...

0 Likes
2 Replies

How to return form data if validate false

As the title, I have a form with a lot of fields and I want to return form data quickly when my vali...

0 Likes
1 Replies
Solved
posted 10 years ago

Cannot display Redirect::with('message') in view

Hello, I'm trying to display an error message when login fails, I currently use this redirect when l...

0 Likes
0 Replies

validation error

when I tried to validate form field with number & min, min filter does not work properly. e.g. '...

0 Likes
2 Replies
Solved
posted 10 years ago

Run custom validation only if required_if check returns true?

I have a validation rule like this... required_if:field_name,field_value|date_format:m/d/Y|futureDat...

0 Likes
1 Replies
Solved

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.