#26 Form Validations in JavaScript

Поделиться
HTML-код
  • Опубликовано: 7 фев 2025
  • Check out our courses:
    Java Full Stack and Spring AI - go.telusko.com...
    Coupon: TELUSKO10 (10% Discount)
    DevOps with AWS: From Basics to Mastery : go.telusko.com...
    Coupon: TELUSKO10 (10% Discount)
    Master Java Spring Development : go.telusko.com...
    Coupon: TELUSKO20 (20% Discount)
    Udemy Courses:
    Spring: go.telusko.com...
    Java:- go.telusko.com...
    Java Spring:- go.telusko.com...
    Java For Programmers:- go.telusko.com...
    Python : go.telusko.com...
    Git : go.telusko.com...
    Docker : go.telusko.com...
    For More Queries WhatsApp or Call on : +919008963671
    website : courses.telusk...
    Instagram : / navinreddyofficial
    Linkedin : / navinreddy20
    TELUSKO Android App : bit.ly/TeluskoApp
    Discord : / discord

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

  • @AngelaOrtner
    @AngelaOrtner 4 года назад +36

    THANK YOU!! I've been looking at tutorials for HOURS and this is the only one that was complete, easy to understand, and that actually worked. You saved me so much time and headache.

  • @findhowtodo
    @findhowtodo 2 года назад +10

    Bro 🙏 one of the best explanations I ever seen here on RUclips explaining each step. Very useful and important for all the community. Respect !

  • @mohammedogleh5195
    @mohammedogleh5195 4 года назад +12

    I was lookin for that action about one week thanks Telusko group

  • @shauryasingh63
    @shauryasingh63 10 месяцев назад +1

    The clarity of speaking and the way you subtly cover the basic concepts is really good. Tanmay rocks!!

  • @ismailvishal5509
    @ismailvishal5509 Год назад +2

    Thank you, you explained every single step in the video very clearly unlike most other video. Liked and subscribed!

  • @digitalpainter4402
    @digitalpainter4402 3 года назад +2

    Thank Youuuuu You really helped me with it I watched many tutorials but none of em worked . But yours did and you also got a new sub

  • @JamesHalpert8555
    @JamesHalpert8555 5 лет назад +6

    Delivering the best content as always...thank you Telusko!!!!!!!

  • @atifjalal3046
    @atifjalal3046 4 года назад +2

    Me an engineering student. Tq u sir or senior for providing free video tutorial. Thank u soooo much 😍

  • @kamsyd13
    @kamsyd13 3 года назад +1

    i was unable to find everywhere but somehow i found yours
    really thank you for making this tutorial & this really help us out !
    keep up the good work !

  • @bhaveshAdept
    @bhaveshAdept Год назад

    Short and Valuable - Very Well

  • @sukanyapathak2690
    @sukanyapathak2690 5 лет назад +4

    Your explanations are really amazing.

  • @adhinabraham1922
    @adhinabraham1922 3 года назад +1

    thank you for this use full content

  • @ajalajessica3601
    @ajalajessica3601 11 месяцев назад

    thanks so much for this simple and short video. i keep getting lost watching the long ones

  • @RajuPatel-bd2vv
    @RajuPatel-bd2vv 2 месяца назад +1

    Great way of teaching bro.. ❤

  • @anandathawale609
    @anandathawale609 4 года назад +2

    I was making my website you help me lot thanks man :)

  • @cozybreeze6186
    @cozybreeze6186 4 года назад +1

    really really useful, one of the best form validation videos, many thanks!

  • @ramasubramanyam.s.6927
    @ramasubramanyam.s.6927 4 года назад +1

    Thanks a lot

  • @DhulkifliGhazi
    @DhulkifliGhazi 6 лет назад +7

    the video was fine..I'm hooked on telusko tutorials .. tutors have a vary nice approach on how to impact knowledge

    • @SimpleSnippets
      @SimpleSnippets 6 лет назад

      Thank you so much for such positive feedback. Really glad to know this

    • @marvellouschandan
      @marvellouschandan 5 лет назад

      @@SimpleSnippets I subscribed to your channel man! It's really an amazing video. Well explained :D

    • @marvellouschandan
      @marvellouschandan 5 лет назад

      @@SimpleSnippets May I get the playlist link to these videos?

  • @abhivishwakarma3678
    @abhivishwakarma3678 5 лет назад +1

    This vedio is very good for devaloper feelds

  • @imalukselection
    @imalukselection Год назад

    Excellent Explanation and Fluent English... #thanks

  • @co109jaimin6
    @co109jaimin6 Год назад

    it helps a lot to me while building my website thanks

  • @rizzmax5673
    @rizzmax5673 3 года назад

    Finally I got perfect and master of validation

  • @TheSkyrimInquisitor
    @TheSkyrimInquisitor 3 года назад +3

    Thank you! Our lecturers were terrible at explaining JS and especially form actions.

  • @arabajshaikh8411
    @arabajshaikh8411 2 года назад

    Have been struggling to understand, got it, thank u ❤🌹🙏

  • @AnilYadav-qn3ch
    @AnilYadav-qn3ch 2 года назад +1

    man you are osmm

  • @monishan1943
    @monishan1943 5 лет назад +1

    After I saw this video I got little idea about this validate tq sir

  • @islamictv9725
    @islamictv9725 5 лет назад +1

    Amazing explanation I am from Pakistan

  • @DavidTheITGuy.
    @DavidTheITGuy. 2 года назад

    It's four years ago but thank you and thank you once again!.. was disturbed by forms always now l can tell not any more.

  • @vennavvsreddy
    @vennavvsreddy 2 года назад

    Telusuko is a Telugu word think you are a Telugu people, the way you are explaining is good by taking each scenario,I am from Andhra Pradesh

  • @talhasse4188
    @talhasse4188 4 года назад

    wow this tutorial made the code so easy to understand

  • @soorajhaveri925
    @soorajhaveri925 2 года назад

    Bro ur explanation is top notch...keep it bro this will help to beginners to pros.....

  • @AhamedKabeer-wn1jb
    @AhamedKabeer-wn1jb 5 лет назад +1

    Superb explanation...

  • @fabrizziocordova5250
    @fabrizziocordova5250 2 года назад

    easy to understand, thanks, this i was looking for

  • @vineethkumar2272
    @vineethkumar2272 6 лет назад +2

    Waiting for this
    Nice video 👌👌👌

  • @krushnabankar2761
    @krushnabankar2761 4 года назад +1

    Bhai ek number

  • @KidsRhymes-Priya
    @KidsRhymes-Priya 3 года назад

    Thank you soo much very helpful video

  • @SahilSharma-os2mv
    @SahilSharma-os2mv 5 лет назад +1

    amazing... i am beginner but got everything u explained

  • @RajanSahu-z5i
    @RajanSahu-z5i Год назад

    Very high quality content thank you brother

  • @srikanthreddy6991
    @srikanthreddy6991 6 лет назад +1

    Clear explanation, thank you

  • @waasanime2335
    @waasanime2335 2 года назад

    Thank you Thank you Thank you Thank you!!!!

  • @SyedAli-kr6qw
    @SyedAli-kr6qw 5 лет назад +1

    I learned something today. Thanks

  • @vishnuerema415
    @vishnuerema415 5 лет назад +1

    best explanations

  • @marky1756
    @marky1756 2 года назад

    This is what I've looking for✅

  • @studentcodingsolution1795
    @studentcodingsolution1795 4 года назад

    thanks this is really helpful to understand love from india

  • @sathiyaraj6572
    @sathiyaraj6572 3 года назад

    Thank you

  • @kripukhadka3387
    @kripukhadka3387 3 года назад

    Great Video man

  • @vaishnavialuru1787
    @vaishnavialuru1787 5 лет назад +1

    Proud of video clarity

  • @deepakreddyt
    @deepakreddyt 4 года назад

    Very good explaination .i mean u know what are the consequences we face in future so u explained everything .Cool one

  • @kieran2347
    @kieran2347 4 года назад

    very nice tutorial

  • @hexor8851
    @hexor8851 2 года назад

    u can use required with js just for remove spaces trim() it will be easy maybe?

  • @imrannazir7651
    @imrannazir7651 5 лет назад +1

    THANKS.......

  • @surahome
    @surahome 4 года назад

    thank you so much

  • @GaneshHosur97
    @GaneshHosur97 4 года назад

    Hats Off! Very Helpful!

  • @Shreyashrajput762
    @Shreyashrajput762 4 года назад +1

    Dear sir , how do we get after submit result like student exam result , search light bill etc,

  • @bhagyarongala6963
    @bhagyarongala6963 4 года назад

    Thank you... clear explanation and useful too

  • @Nexus2UAll
    @Nexus2UAll 6 лет назад

    Nice and to the point. Thanks man!!

  • @vennapureddybapureddy8290
    @vennapureddybapureddy8290 3 года назад +1

    Looks like speaker is simple snippet 😍

  • @swethav395
    @swethav395 2 года назад +1

    Hi. I tried to use return statement in "form" tag.but it is showing error that it can be used only in fuction body.

  • @lebonamangaung3906
    @lebonamangaung3906 5 лет назад +2

    how do i make the button to be disabled if either textbox is empty?? i know in csharp you use something like btn1.enabled == false;

  • @gobirajendiran263
    @gobirajendiran263 6 лет назад +1

    Excellent...

  • @-Raviponnam
    @-Raviponnam 2 года назад

    thanks

  • @silvernaturemusic599
    @silvernaturemusic599 4 года назад +1

    How do I send data to my php by action method ? If I enter url in it ?

  • @kinggRafi
    @kinggRafi 5 лет назад +32

    provide the file link in DESCRIPTION for easy learning ;)

  • @manojdarling9065
    @manojdarling9065 Год назад

    nice explanation...👍👍👍

  • @hamzazahidulislam3490
    @hamzazahidulislam3490 4 года назад

    Thank you so much Brother Its working Now

  • @HackerSumitJi
    @HackerSumitJi 4 года назад +1

    Please make a video on password and email validation in one html document

  • @sairajdas6692
    @sairajdas6692 6 лет назад +1

    have you ever across a scenario where onsubmit attribute doesn't work?

  • @tri-aayam
    @tri-aayam 3 года назад +1

    Why are you using light-themed IDE ??

  • @hemavathit6203
    @hemavathit6203 4 года назад +3

    Hi, Thanks for the video it is very helpful and i am trying to execute this form tag and JS file, but JS validation is not working for me. but it is redirecting to another page with welcome message. it is not checking the blank field. can you pls assist me on this?

  • @javascriptdevelopers6458
    @javascriptdevelopers6458 4 года назад

    Good video, nicely explained.

  • @splendoraverse988
    @splendoraverse988 2 месяца назад

    thnx for the help

  • @AnandKumar-un4my
    @AnandKumar-un4my 2 года назад

    Thank You Telusko

  • @fastlearner9993
    @fastlearner9993 2 года назад

    PERFECT!!!

  • @free2all917
    @free2all917 4 года назад +3

    When I put return function also it's goes on to welcome page.why??

  • @eb4416
    @eb4416 6 лет назад +1

    Maybe the question will be answered in the following videos, but to be sure that I don't forget my question:
    What if I just got the link to message.html, so the login-form is no obstacle for me as a user. If the user knows the link to the desired page, how do you prevent the access to that page and allow just someone to view it when he has the specific login data?

    • @SimpleSnippets
      @SimpleSnippets 6 лет назад +2

      Pretty good question.Well this kinda falls into a little advance part of validation where this is kinda like a security feature. A simple way to handle this is to store username or a particular token id in the cookies and set it to null at the start and if you go onto this message.html link directly without going through the form, you check this cookie value onto the message.html page at the beginning. if it is null, it will mean you tried to access the message.html page directly without going through the form. if you go through the form page properly you set the username in the cookies to a proper value other than null so then you can load message.html properly. Hope you get the gist of this methodology ?

  • @ArjunSingh-cy8eq
    @ArjunSingh-cy8eq 5 лет назад +1

    How to achive full validation..any vidio in this channel..

  • @lubalaltu9827
    @lubalaltu9827 6 лет назад +2

    nice video

  • @prakashb1278
    @prakashb1278 4 года назад +4

    I figured out an alternative which doesn't use return in Js function. Code below:
    function validate() {
    var uname = document.getElementsByTagName("input")[0].value.trim();
    var pass = document.getElementsByTagName("input")[1].value.trim();
    if(uname.length == 0 || pass.length == 0) {
    alert("either of the input value is blank!");
    }
    else {
    document.getElementsByTagName("form")[0].action = "welcome.html";
    }
    }

  • @titumama6238
    @titumama6238 Год назад

    You are great buddy.....😮

  • @umangsharma7447
    @umangsharma7447 5 лет назад

    whoa!! that's a great video! thank u !

  • @DeliberateConfusion
    @DeliberateConfusion 6 лет назад +1

    This is PERFECT

  • @sudhakarverma8452
    @sudhakarverma8452 6 лет назад +4

    From video I got good concepts of action attribute of form
    And this is very amazing video sir

  • @silvernaturemusic599
    @silvernaturemusic599 4 года назад

    But if you have alert() + window.location
    Even if you have " required " in form
    It will still redirect

  • @Hum_Sopha
    @Hum_Sopha 5 лет назад +1

    If have new videos Please put your text code in descriptions

  • @shivadevullapally1337
    @shivadevullapally1337 Год назад

    Mad respect anna ❤

  • @MadhusudanBhosale
    @MadhusudanBhosale 6 лет назад +2

    Clean coding,
    Proper execution
    And excellent presentation !
    /* happy coding */

    • @SimpleSnippets
      @SimpleSnippets 6 лет назад

      Thank you so much ✌️ happy to hear this from you 😇

    • @nomanshah4327
      @nomanshah4327 4 года назад

      @@SimpleSnippets sir i need help
      My same program is not working plz this out

  • @kodishalavinay8084
    @kodishalavinay8084 5 лет назад

    Teaching style awesome bro

  • @shabhreashsugumaran7114
    @shabhreashsugumaran7114 Год назад +10

    U need therapy if U use VS code on loght mode. Stop it get some help

  • @sahanashanbhag4842
    @sahanashanbhag4842 4 года назад

    thanks a lot bro💕

  • @bijaykishorepatra8113
    @bijaykishorepatra8113 6 лет назад

    Thanks Tanmaya...

  • @sudhakarrotta3626
    @sudhakarrotta3626 6 лет назад +1

    Hi bro ..
    Which concepts to learn in Java for Android app development.? .... Please make a video....

    • @SimpleSnippets
      @SimpleSnippets 6 лет назад +1

      Core Java ✌️ that would be enough 👍

  • @sarikas6600
    @sarikas6600 4 года назад +1

    Can you please explain angular js tutorial

  • @shahulsas
    @shahulsas 6 лет назад +1

    super...

  • @NZIT1
    @NZIT1 2 года назад +1

    Nice explication. But I'm just wondering if it's allowed to have "return " in html as you did into the form container? Thanks

  • @saurabrakshit405
    @saurabrakshit405 5 лет назад

    Thanks bro nice vdo

  • @muskananand6494
    @muskananand6494 2 года назад

    Sir how you can add "return" in form tag because "return" statement can only be used within a function body

  • @Matheu_codes
    @Matheu_codes Год назад

    Nice

  • @yash23ayush
    @yash23ayush 5 лет назад

    nice video sir

  • @marc2767
    @marc2767 4 года назад

    well explained.. ty :)

  • @johndavesbaguio7044
    @johndavesbaguio7044 5 лет назад

    thanks bro