How To Create A Custom VineJS Validation Rule

In this lesson, we'll learn how to make a custom validation rule with VineJS that requires a value to be unique for the provided table and column. We'll learn how we can register this rule for both strings and number types.

Published
Apr 12
Duration
9m 7s

Developer, dog lover, and burrito eater. Currently teaching AdonisJS, a fully featured NodeJS framework, and running Adocasts where I post new lessons weekly. Professionally, I work with JavaScript, .Net C#, and SQL Server.

Adocasts

Burlington, KY

Join The Discussion! (4 Comments)

Please sign in or sign up for free to join in on the dicussion.

  1. Commented 7 months ago

    Good content so far. Thanks for putting it together. Keep up the hard work. This course indeed is going to help me start my own business. Praying to God to give me the strength to move forward with it.

    1

    Please sign in or sign up for free to reply

    1. Commented 7 months ago

      Thank you, redeemefy!! I'm happy to hear it's helping, and best of luck with starting your business! You got this, just take it one line at a time!! :D

      Also - apologies your Adocasts Plus badge was missing! Looks like it was a concurrency issue with the Stripe Webhook, I'll have to get that fixed up.

      0

      Please sign in or sign up for free to reply

      1. Commented 7 months ago

        Nice listening with those Stripe web-hooks. I use those myself at work when Stripe was our provider.

        1

        Please sign in or sign up for free to reply

        1. Commented 7 months ago

          Adocasts has been my first time working with Stripe, we do more direct B2B sales where I work, so it's been a fun learning experience lol. :D

          1

          Please sign in or sign up for free to reply