Skip to content

Dev Problems

Magento and Laravel plugins, information, intructions and more.

Other interesting links

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

Recent Posts

  • Sustainable web hosting and the providers creating a greener internet
  • Using Typesense as your search provider for Laravel Scout and Instantsearch.
  • Setting up CircleCI Continuous Integration with Laravel – Then deploy Forge or Fortrabbit
  • Best Microsoft Edge extensions 2021 – Must-have browser add ons
  • The best Opera Extensions 2021 – Add ons for your browser

Recent Comments

  • captain on Best Microsoft Edge extensions 2021 – Must-have browser add ons
  • devproblems on Beste Safari Extensies voor 2021: 7 Onmisbare Extensies
  • Derry Tew on Beste Safari Extensies voor 2021: 7 Onmisbare Extensies
  • Derry Tew on Best Safari Extensions for 2021: 7 Must-Have Extensions
  • Joey Ward on Best Techno DJs of 2021 – complete top 10 techno DJs list

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
  • 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 2015Author devproblemsCategories 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