Skip to content

Dev Problems

Magento and Laravel plugins, information, intructions and more.

Recent Posts

  • What is Ecosia? About the Green Search Engine
  • Deep House Mixes 2023: The Top 5 Mixes to Keep You Grooving All Year Long
  • Is Ecosia Legit? Pros, Cons, and Comparison to Google
  • Ecosia Download: various ways to use Ecosia
  • Ecosia Review: A Search Engine that Plants Trees

Recent Comments

  • Martijn on Waarom de Secrid portemonnee NIET duurzaam is
  • muhammad shoaib on Using PHP LinkedIn SDK to fetch Company and Profile Information via API
  • muhammad shoaib on Using PHP LinkedIn SDK to fetch Company and Profile Information via API
  • borgulas on Best Firefox Add-Ons as of 2023: 23 Essentials
  • captain on Best Microsoft Edge extensions 2023 – Must-have browser add ons

Other interesting links

  • Back of the enveloppe science
  • Clothing free returning
  • Easy Payment Services
  • Furn.nl
  • Pay flights with Bitcoin
  • Pinterminal huren
  • Privacy Policy

Categories

  • Apple
  • Beanstalkd
  • Chrome Extensions
  • Duurzaamheid
  • Google Analytics
  • Javascript
  • jQuery
  • Laravel
  • Laravel 4
  • Laravel 5
  • Laravel 5.1
  • Laravel 5.3
  • Laravel 5.4
  • Laravel Authentication
  • Laravel Forge
  • Laravel Performance
  • Legal
  • Magento Bugs
  • Magento Marketing
  • Magento Multistore
  • Magento Optimizations
  • Magento Plugins
  • Magento SEA
  • Magento SEO
  • Music
  • Non-magento
  • One Step Checkout
  • PHP
  • Redis
  • SEO
  • SSH
  • Sustainability
  • Tips and Tricks
  • Ubuntu
  • Uncategorized
  • Unix

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Category: Laravel 4

Laravel 5 form validation field should be empty

Would you like to have a validation for the fact that a field should be completely empty in Laravel 4 or 5?

In that case add this form validation rule:

$this->validate($request, [
   'field_that_should_be_empty' => 'regex:/^$/i',
);
Posted on 28 September 2015Categories Laravel, Laravel 4, Laravel 5, Laravel 5.1Leave a comment on Laravel 5 form validation field should be empty
Proudly powered by WordPress | On some page we're using partner programs to earn revenue