Accepting Form Data

In this lesson, we'll take a look at how we can create a register form and accept data from that form within our route handler.

Published
Apr 05, 24
Duration
12m 15s

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

Get the Code

Download or explore the source code for this lesson on GitHub

Repository

Join The Discussion! (2 Comments)

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

  1. Commented 12 days ago

    Hey Tom,

    Thank you for the video » Just wanted to ask a quick one regarding working with edge

    Emmet does not seem to be working with edge files (unlike with ejs). I.e: typing out 'div' and having '<div></div>' popup, or .flex having '<div class="flex"></div>', or even nested emmet calls

    So far, I have ignored it, but as we are adding more and more components, it kind of becomes cumbersome. Was wondering if there is a solution, or perhaps it's a specific setting, that must be enabled somewhere

    1

    Please sign in or sign up for free to reply

    1. Commented 10 days ago

      Hi Vladimir!

      Yes, there sure is! If you open your JSON user settings:

      1. Hit cmd/ctrl + shift + p to open the command palette

      2. Search for and select "Preferences: Open User Settings (JSON)"

      You can add the following to this file, which will map the EdgeJS file extension .edge to use HTML Emmet functionalities.

      {
        "emmet.includeLanguages": {
          "edge": "html"
        }
      }
      Copied!
      0

      Please sign in or sign up for free to reply

Playing Next Lesson In
seconds