Episode 19 • Making websites with October CMS

Form validation

Now let's make our October CMS contact form a bit better by creating form validation for our fields.

Last episode was a bit longer because I didn't want to leave any important information out. But this episode is going to be a fast one, because form validation in October CMS or Laravel for that matter is a piece of cake, since it comes already baked into the system.

In this episode I'm going to show you how to use Octobers validator class, and how to use few of the many validation rules that October comes with.

Download code
  • Episode 01 • Duration 12:09

    Installing October CMS

  • Episode 02 • Duration 21:44

    Basic Concepts

  • Episode 03 • Duration 09:18

    Creating Themes

  • Episode 04 • Duration 16:56

    Setting Up Laravel Elixir

  • Episode 05 • Duration 19:12

    Builder Plugin Overview

  • Episode 06 • Duration 11:11

    Basic Templating

  • Episode 07 • Duration 10:27

    Displaying Lists and Details

  • Episode 08 • Duration 08:17

    Slugs And Pagination

  • Episode 09 • Duration 14:57

    Images And Galleries

  • Episode 10 • Duration 17:25

    Relations

  • Episode 11 • Duration 07:35

    Inverse Relations

  • Episode 12 • Duration 09:26

    Repeater field

  • Episode 13 • Duration 19:54

    Creating Custom Form Widgets

  • Episode 14 • Duration 32:16

    Saving Form Widget Data

  • Episode 15 • Duration 15:23

    Creating New Data via Form Widget

  • Episode 16 • Duration 11:30

    Creating a Simple Component

  • Episode 17 • Duration 15:48

    Adding Options to Components

  • Episode 18 • Duration 27:00

    Creating Contact Form

  • Episode 19 • Duration 10:25

    Form validation

  • Episode 20 • Duration 13:17

    Frontend Forms

  • Episode 21 • Duration 19:12

    Users

  • Episode 22 • Duration 17:36

    Ajax Form Validation

  • Episode 23 • Duration 16:41

    Extending User Plugin

  • Episode 24 • Duration 10:53

    Extending User Plugin - Frontend

  • Episode 25 • Duration 09:52

    NEW! Ajax Form Validation

  • Episode 26 • Duration 10:34

    Uploading Images From Frontend

  • Episode 27 • Duration 15:39

    Seeding With Faker

  • Episode 28 • Duration 13:46

    Search

  • Episode 29 • Duration 22:30

    PHP block

  • Episode 30 • Duration 11:42

    Seeding With Routes

  • Episode 31 • Duration 10:55

    Success and Error Messages in Forms

  • Episode 32 • Duration 15:53

    Groups and Permissions

  • Episode 33 • Duration 16:41

    Static Pages and Menus

  • Episode 34 • Duration 15:50

    Backend Lists

  • Episode 35 • Duration 12:08

    Backend Filters

  • Episode 36 • Duration 22:21

    Relation Manager

  • Episode 37 • Duration 25:29

    Laravel Mix and Webpack

  • Episode 38 • Duration 10:52

    Creating Sitemap.xml

  • Episode 39 • Duration 32:07

    Frontend Filters

  • Episode 40 • Duration 05:24

    Semantic UI

  • Episode 41 • Duration 34:13

    Ajax Frontend Filters

  • Episode 42 • Duration 13:04

    Ajax Frontend Sorting

  • Episode 43 • Duration 17:24

    Ajax Pagination

  • Episode 44 • Duration 13:54

    Update October CMS to Laravel 5.5 with Valet

  • Episode 45 • Duration 12:33

    Ajax Image Upload

  • Episode 01 • Duration 12:09

    Installing October CMS

  • Episode 02 • Duration 21:44

    Basic Concepts

  • Episode 03 • Duration 09:18

    Creating Themes

  • Episode 04 • Duration 16:56

    Setting Up Laravel Elixir

  • Episode 05 • Duration 19:12

    Builder Plugin Overview

  • Episode 06 • Duration 11:11

    Basic Templating

  • Episode 07 • Duration 10:27

    Displaying Lists and Details

  • Episode 08 • Duration 08:17

    Slugs And Pagination

  • Episode 09 • Duration 14:57

    Images And Galleries

  • Episode 10 • Duration 17:25

    Relations

  • Episode 11 • Duration 07:35

    Inverse Relations

  • Episode 12 • Duration 09:26

    Repeater field

  • Episode 13 • Duration 19:54

    Creating Custom Form Widgets

  • Episode 14 • Duration 32:16

    Saving Form Widget Data

  • Episode 15 • Duration 15:23

    Creating New Data via Form Widget

  • Episode 16 • Duration 11:30

    Creating a Simple Component

  • Episode 17 • Duration 15:48

    Adding Options to Components

  • Episode 18 • Duration 27:00

    Creating Contact Form

  • Episode 19 • Duration 10:25

    Form validation

  • Episode 20 • Duration 13:17

    Frontend Forms

  • Episode 21 • Duration 19:12

    Users

  • Episode 22 • Duration 17:36

    Ajax Form Validation

  • Episode 23 • Duration 16:41

    Extending User Plugin

  • Episode 24 • Duration 10:53

    Extending User Plugin - Frontend

  • Episode 25 • Duration 09:52

    NEW! Ajax Form Validation

  • Episode 26 • Duration 10:34

    Uploading Images From Frontend

  • Episode 27 • Duration 15:39

    Seeding With Faker

  • Episode 28 • Duration 13:46

    Search

  • Episode 29 • Duration 22:30

    PHP block

  • Episode 30 • Duration 11:42

    Seeding With Routes

  • Episode 31 • Duration 10:55

    Success and Error Messages in Forms

  • Episode 32 • Duration 15:53

    Groups and Permissions

  • Episode 33 • Duration 16:41

    Static Pages and Menus

  • Episode 34 • Duration 15:50

    Backend Lists

  • Episode 35 • Duration 12:08

    Backend Filters

  • Episode 36 • Duration 22:21

    Relation Manager

  • Episode 37 • Duration 25:29

    Laravel Mix and Webpack

  • Episode 38 • Duration 10:52

    Creating Sitemap.xml

  • Episode 39 • Duration 32:07

    Frontend Filters

  • Episode 40 • Duration 05:24

    Semantic UI

  • Episode 41 • Duration 34:13

    Ajax Frontend Filters

  • Episode 42 • Duration 13:04

    Ajax Frontend Sorting

  • Episode 43 • Duration 17:24

    Ajax Pagination

  • Episode 44 • Duration 13:54

    Update October CMS to Laravel 5.5 with Valet

  • Episode 45 • Duration 12:33

    Ajax Image Upload