Forms And Validation With Golang, Templ And HTMX

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

Комментарии • 23

  • @anthonygg_
    @anthonygg_  6 месяцев назад

    ► 33% OFF on my Go + HTMX + Templ Course PRESALE bit.ly/3UFruxO
    ► Full Projects, Mini courses, Resume reviews, and Coaching thetotalcoder.com
    ► Join my Discord community for free education discord.com/invite/Ac7CWREe58
    ► 60% OFF on my Golang course fulltimegodev.com
    Thanks for watching

  • @louiseyousre
    @louiseyousre 6 месяцев назад +18

    Hey! please do some i18n stuff with Go and HTMX

  • @RK-gu2fq
    @RK-gu2fq 3 месяца назад

    I've always done my error handling for forms client-side, and never really thought about doing it server-side. Now that I'm getting into Go, this approach is a bit foreign...but...i must admit...i really like it

  • @oliverhughes169
    @oliverhughes169 6 месяцев назад +3

    Coming from React hook form, validation schemas, zod, client side and server side validation... this is very refreshing. Very intrigued with the rendered charts, is that go-charts? That is something I am yet to test.

  • @nanonkay5669
    @nanonkay5669 6 месяцев назад +2

    Oh look. It's Timmy 😃

  • @abdorootuae
    @abdorootuae 6 месяцев назад +2

    Thanks you please make more from this types of videos

  • @stevvns
    @stevvns 5 месяцев назад +2

    Curious how would you clean up the errors in the following scenario:
    1. User enters data in the Name field only and posts the form.
    2. The server returns the form with errors on other mandatory fields.
    3. User types something into the field with an error markup.
    I assume that the error just stays in the form, but from UX standpoint it would be nice to remove the error once the user populated the field.

    • @anthonygg_
      @anthonygg_  5 месяцев назад

      I agree. A little bit of js i guess

    • @juliancorredor1128
      @juliancorredor1128 5 месяцев назад

      you could also get errors from a different templ endpoint that executes with a delay after using input, right? though I believe that's a far stretch to not use js

  • @adityashukla9840
    @adityashukla9840 6 месяцев назад

    Hey Anthony....I Am New To Golang and want to create a project in Golang....You have many projects on your channel....But which one of your project is do you think good for beginner

  • @vladmariangabriel6433
    @vladmariangabriel6433 6 месяцев назад +2

    What web framework are you using?

  • @vendjin
    @vendjin 5 месяцев назад

    what theme in vs code are you using?

  • @nguyentien539
    @nguyentien539 6 месяцев назад

    Nice video! And what theme is that?

  • @mansourbaitar5194
    @mansourbaitar5194 6 месяцев назад

    The GG HTMX System with Golang Templ

  • @artlyart8326
    @artlyart8326 6 месяцев назад

    My G ❤

  • @rayhankessal6976
    @rayhankessal6976 6 месяцев назад

    Hi Anthony
    Nice video

  • @Laflamablanca969
    @Laflamablanca969 6 месяцев назад +1

    What does hxRedirect look like GG? Also, how are you handling the nav menu on the side? Is that a templ component too?

  • @prmshzkarmacharya2069
    @prmshzkarmacharya2069 6 месяцев назад

    Hey anthony on chi while handeling route not or method not do we always have to wrap it by router.Route have you faced this issue.?

  • @hadesubloysa2705
    @hadesubloysa2705 5 месяцев назад

    where is hx-target, how did htmx know which node to swap?

    • @hadesubloysa2705
      @hadesubloysa2705 5 месяцев назад +1

      oh, htmx default is replacing the one that made the request

  • @tylergilman2129
    @tylergilman2129 6 месяцев назад

    Gold

  • @zoop2174
    @zoop2174 6 месяцев назад

    Don't forget to add CSRF to that before put it live lol