<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Form Validation on seth-shi</title><link>https://sethix.com/tags/form-validation/</link><description>Recent content in Form Validation on seth-shi</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Wed, 19 Sep 2018 11:51:03 +0800</lastBuildDate><atom:link href="https://sethix.com/tags/form-validation/index.xml" rel="self" type="application/rss+xml"/><item><title>Elegantly Validate Date Must Be Greater Than Today in Laravel</title><link>https://sethix.com/posts/2018091911/</link><pubDate>Wed, 19 Sep 2018 11:51:03 +0800</pubDate><guid>https://sethix.com/posts/2018091911/</guid><description>We often encounter scenarios like ticket purchasing queries that require date range validation: the start date must be greater than or equal to today, and the end date must be greater than or equal to the start date. Version Laravel 5.5.40 PHP 7.1 Implementation Steps Create a Form Request:
Laravel Note: Remember to return true in the authorize() method since we&amp;rsquo;re handling authentication elsewhere
Basic validation rules:
Laravel Special validation challenge:</description></item></channel></rss>