JavaScript Client-side Form Validation

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

ความคิดเห็น • 497

  • @FlorinPop
    @FlorinPop  4 ปีที่แล้ว +37

    Learn how to use 24 different JavaScript Array Methods: th-cam.com/play/PLgBH1CvjOA62PBFIDq55-S6Beivje30A2.html

    • @ignaciobascougnet8471
      @ignaciobascougnet8471 4 ปีที่แล้ว +1

      how you can refresh your misstake inputs, if they are all cons¿

    • @mrollins8277
      @mrollins8277 4 ปีที่แล้ว +2

      Bro your video was nice but this validation is not working in my form, So could u please tell me what can be the problem or ambiguity.

    • @SpscMedia
      @SpscMedia 4 ปีที่แล้ว +1

      Florin pop your are doing amazing. I want to tell you one thing zoom in the screen little bit, I am facing difficulties on my Palm device.

    • @utkarshtenguria3836
      @utkarshtenguria3836 4 ปีที่แล้ว +1

      Which software

    • @turaleyyub5746
      @turaleyyub5746 3 ปีที่แล้ว

      FLORIN POP can you say please why it doesnt go another page? you forgot about action="somewhere.php"

  • @aleb687
    @aleb687 4 ปีที่แล้ว +13

    great video Florin! Just found amazing CSS shortcuts:
    m0 -> margin: 0;
    p0 -> padding: 0;
    l0 -> left: 0;
    t0 -> top: 0;
    ff -> font-family: sans-serif (with font highlighted ready to be changed)
    bgc -> background-color: #fff (with fff highlighted ready to be changed)
    and so forth and so on...
    Saves tons of typing !!

    • @FlorinPop
      @FlorinPop  4 ปีที่แล้ว

      They do indeed! 😃

  • @archangel0137
    @archangel0137 4 ปีที่แล้ว +35

    This is hands-down the FINEST form validation tutorial I've ever seen... big salute to you sir!

  • @thomassankara9980
    @thomassankara9980 4 ปีที่แล้ว +9

    This was the first video from Florin I ever watched. I came back here today for reference for a project I'm working on. Thanks Florin

  • @dontavious3591
    @dontavious3591 2 ปีที่แล้ว +8

    I really appreciate this video. It helped me out tremendously with my first JavaScript project which landed me the opportunity to get my first gig as a developer. Keep up the great work!

  • @hughmungus1767
    @hughmungus1767 4 ปีที่แล้ว +16

    Thank you Florin, that was very helpful! My JavaScript was VERY rusty and this helped me develop good solid client-side validation checking on the forms I'm using in my Laravel project.

    • @FlorinPop
      @FlorinPop  4 ปีที่แล้ว +2

      I’m very happy to hear this!!

  • @tenminutetokyo2643
    @tenminutetokyo2643 4 ปีที่แล้ว +31

    Best tut I’ve ever seen on YT. Why cant everyone make tuts this straightforward.

    • @FlorinPop
      @FlorinPop  4 ปีที่แล้ว +3

      Aww... thank you! I’m happy you like it! ☺️

    • @hikari1690
      @hikari1690 3 ปีที่แล้ว

      @@FlorinPop correct me if I’m wrong but the html email check is the same thing as the regex check right? Its just checking for an @ domain. So a@a.c will still work even with the custom function

    • @baithivinaykumar
      @baithivinaykumar 3 ปีที่แล้ว

      @@FlorinPop hii sir can you probably provide your whatsapp
      I have some doubts

  • @anilporella7201
    @anilporella7201 4 ปีที่แล้ว +18

    The Best ever made Tutorial on form validations through javascript. Great. A Big Salute

    • @FlorinPop
      @FlorinPop  4 ปีที่แล้ว

      Thank you! I’m very happy you found it useful!

  • @kenkioqqo
    @kenkioqqo 3 ปีที่แล้ว +4

    Maximum appreciation, Florin. Your tutorials is the best way for beginners to learn how to practically add JavaScript to HTML&CSS files. I've been learning HTML & CSS, and JavaScript syntax from online platforms. But I've not found anyone teaching how to bring them all together in a practical manner like you have. You've literally given me the missing link. My 'Aha!" moment! Great work, Mr Pop.

    • @gunnerdreem
      @gunnerdreem 3 ปีที่แล้ว

      try whatsdev's tutorials

  • @jryan2356
    @jryan2356 3 ปีที่แล้ว +1

    I’ve been pulling my hair out trying to understand form validation properly.. thank god I found your video! So simple to understand now, and you’ve gained a new subscriber

  • @likhithsasank8017
    @likhithsasank8017 3 ปีที่แล้ว +9

    I have watched many tutorials ...But the way of writing code by florin is amazing ✌️🎉..Love from india❤️

  • @worthitmakethis7792
    @worthitmakethis7792 3 ปีที่แล้ว

    Thanks so much for this! I have been having a hard time grasping this and have spent over a week reading and watching every video I could find. I am so lucky to have found this! You are awesome!!!

  • @wesleyfeller2114
    @wesleyfeller2114 5 ปีที่แล้ว +28

    I would love to see a video of a contact form with the form validation and the feature of having it emailed to your gmail 😀😀 solid video!

    • @sangramnath3452
      @sangramnath3452 5 ปีที่แล้ว

      @@FlorinPop Please do consider..🙂

    • @senju31
      @senju31 4 ปีที่แล้ว

      I literally just solved this. I can share the source code if you want.

    • @lauraochoa96
      @lauraochoa96 4 ปีที่แล้ว

      @@senju31 I'm trying the same. It would be a great help for me.

    • @mknight7209
      @mknight7209 4 ปีที่แล้ว

      @@senju31 please do

  • @rahulghodmare5394
    @rahulghodmare5394 3 ปีที่แล้ว

    Hello Sir, I am Js learner ,typically i saw most video.But I like these video. Which clear and straightforward.

  • @peters7278
    @peters7278 4 ปีที่แล้ว +16

    It's cool to see you type the code. I'm new and learning to use editors, so I like to watch the little things that pros do. I'm not sure if you have a "tips and tricks" for editors like Codepen, VisualStudio Code, or any other ones that you use in daily work, but I'd be interested in seeing a basic intro to these as well.

    • @FlorinPop
      @FlorinPop  4 ปีที่แล้ว +2

      Noted! Thank you

  • @riteshmahajan5209
    @riteshmahajan5209 4 ปีที่แล้ว +3

    one of the wonderful quality tutorial on form creation, styling and validation. :)))) Thanks Florin ...I don't know how to make a thumbs up..

  • @gauravpanwar4413
    @gauravpanwar4413 3 ปีที่แล้ว +1

    After searching for so many ways this video give me the best solution. Thanks a lot 😊

  • @geebsayshi
    @geebsayshi 4 ปีที่แล้ว +5

    You're the best tbh. Your tutorials are straightforward and practicable. I only started to enjoy learning programming when I found your channel. Thank you

    • @FlorinPop
      @FlorinPop  4 ปีที่แล้ว +1

      Aww! That’s so nice of you to say! I’m happy to hear I was helpful 😃

  • @vuongtran5799
    @vuongtran5799 4 ปีที่แล้ว +4

    Love the way you control your code, hope to see more video especially for frontend JS. Thanks

  • @syner144
    @syner144 4 ปีที่แล้ว +3

    DUDE IM SO HAPPY THAT I SUBSCRIBED TO YOU I SWEAR IM GETTING MY LAPTOP AND IM GONNA LEARN MUCH FROM YOU LOVE YOU BRO FROM THE NETHERLANDS

  • @kensleylewis
    @kensleylewis 3 ปีที่แล้ว +3

    You make CodePen look it's the "Chosen One!!!" Love it!

  • @RedEyedJedi
    @RedEyedJedi 5 ปีที่แล้ว +2

    Thanks, Florin this is the perfect amount of detail. Excellent tutorial!

    • @RedEyedJedi
      @RedEyedJedi 5 ปีที่แล้ว

      @@FlorinPop No, thank you for putting in the time and effort to make it. I really appreciate it :)

  • @pearlstar1427
    @pearlstar1427 4 ปีที่แล้ว +21

    16:44 I had trouble getting the addEventListener to work. So if anyone has that same problem, try moving your script tag (linking the javascript file) to the end of the body tag of your html file :)

  • @moussaouikhouloud
    @moussaouikhouloud 4 ปีที่แล้ว +6

    you r the best u save my university degree this year
    all love

  • @676005ga
    @676005ga 4 ปีที่แล้ว +6

    Thanks Florin! You are amazing!
    I have a question about this tutorial.
    How do we submit the form after we've done validation?
    I have trouble doing them both in the same time.
    I can only send post without validation or get a blank page after sending post with validation.
    After trying for 4 hours, I add this code below into checkInputs function and finally I can echo out the post data!
    My code is a mess and I apologize for that, I'm working on organizing it.
    if (document.querySelectorAll('.form-control')[0].classList.contains('success') && document.querySelectorAll('.form-control')[1].classList.contains('success') && document.querySelectorAll('.form-control')[2].classList.contains('success') && document.querySelectorAll('.form-control')[3].classList.contains('success')) {
    form.submit()
    }

    • @yondaime8520
      @yondaime8520 3 ปีที่แล้ว +1

      the form is only reloading but it is not submitting

  • @ninja-gh
    @ninja-gh 4 ปีที่แล้ว +6

    Awesome lecturer, neat and clean way of validating user inputs. Thanks from India

  • @mizuesato4775
    @mizuesato4775 4 ปีที่แล้ว +5

    Thank you Florin 😊 I like this video to learn about HTML CSS and Javascript. I hope to see more video especially for beginner.

  • @touhidh6
    @touhidh6 4 ปีที่แล้ว +7

    I am face a problem. This validation is awesome but can't work form action. Like action.php. why the submit button can't procced to the action page.

    • @rohanisembiring2889
      @rohanisembiring2889 4 ปีที่แล้ว

      ofcourse u can't , you need to use required statement for it. then customized required message for it. Required was default by all browser can pass form action to all post method before sending it to server side render

    • @EmmanueloluseyiAdeniyi
      @EmmanueloluseyiAdeniyi 4 ปีที่แล้ว

      @@rohanisembiring2889 can you please be elaborate with your message? I'm also trying to build something like @Md

  • @pranjalverma9171
    @pranjalverma9171 4 ปีที่แล้ว +6

    Hi, Can you tell me please that in 16:43 you make an argument 'e' , so what will it target and how?

    • @storyofafootballer5261
      @storyofafootballer5261 4 ปีที่แล้ว +1

      (e) = event , search up for more information in google , u can find alot information.

  • @tradewinds9832
    @tradewinds9832 4 ปีที่แล้ว

    Excellent tutorial! You deserve more views. Awesomeness!

  • @zdarofMERGAITES
    @zdarofMERGAITES 4 ปีที่แล้ว +4

    Great lesson, teacher. Your VS skills are something really coool!

  • @nickwoodward819
    @nickwoodward819 2 ปีที่แล้ว

    Just a suggestion - when you're writing your css you jump up and down the block adding properties. This means that if you're following along, but perhaps a property or two behind, you look up at the screen and the property you've just written is no longer visible (off the bottom of the screen) as you've gone to the top of the style block to write a different property. Can be pretty jarring!
    But thanks, great guide!

  • @renatoloefstop
    @renatoloefstop ปีที่แล้ว +1

    nice video. I liked the the design of the form and the logic behind the validation.

  • @Anahitacode
    @Anahitacode 2 ปีที่แล้ว

    Best tutorial a have ever seen) Thank You

  • @alanthomasgramont
    @alanthomasgramont 3 ปีที่แล้ว +1

    Definitely should be handling the change event by setting the name on all the elements and then getting the name from the event.target.name. No need to get every control in a const

  • @timtech9361
    @timtech9361 2 ปีที่แล้ว

    create function at the end of checkInputs called:
    "formSuccess(email, country, zipcode, password, confirmPassword)"
    const formSuccess = (...input) => {
    if (input.every((element) => {
    return element.parentElement.classList.value === 'form-control success'
    })) {
    alert('Form Submitted')
    } else {
    return;
    }
    }
    Not sure if this is the best solution, but it def works.

  • @arjanelor9568
    @arjanelor9568 3 ปีที่แล้ว +1

    I appreciate the project challenge you have there it helps me to practice my JS coding

  • @spakklife
    @spakklife 3 ปีที่แล้ว

    I really love your tutorial because it's awesome and looks way cool! It's actually my first time seeing your video!

  • @nohaderwa
    @nohaderwa 3 ปีที่แล้ว

    Straight to the point 👏🏻👏🏻
    Keep the hard work, man.

  • @isaackash2401
    @isaackash2401 2 ปีที่แล้ว

    I was very glad to watch this tutorial.

  • @l3_p14f9
    @l3_p14f9 3 ปีที่แล้ว

    First, thank you for not having shitty music at all. Second, thank you for being specific. Third, I subscribed after this, rock on!

    • @FlorinPop
      @FlorinPop  3 ปีที่แล้ว

      Thank you 🙏

  • @bouhellalmokhtaraymene5487
    @bouhellalmokhtaraymene5487 ปีที่แล้ว +1

    this is a form validation so we need to send some data to the server but this isn't gonna happen by using the preventdefault methode , any solution ?

    • @FlorinPop
      @FlorinPop  ปีที่แล้ว +1

      Submit manually with form.submit()

    • @bouhellalmokhtaraymene5487
      @bouhellalmokhtaraymene5487 ปีที่แล้ว

      @@FlorinPop thank you very much sir it's working
      I have another problem is there any way to prevent the page from refreshing because I have another form hidden under the original one so by completing the first form the page will be refreshed and I will lose progress and can't get to the second form

  • @RAHULROY-sb9nt
    @RAHULROY-sb9nt 3 ปีที่แล้ว

    I am from india..i had problem with foreign accents.but yours fine and clear.

  • @medmess254
    @medmess254 3 ปีที่แล้ว +2

    Thank you for the great job. It would be nice to explain how to submit the form after data validation.

  • @nahorovidiu8307
    @nahorovidiu8307 4 ปีที่แล้ว +3

    Felicitati, Florin!

    • @FlorinPop
      @FlorinPop  4 ปีที่แล้ว

      Multumesc 😃

  • @elrasheedsiddig7711
    @elrasheedsiddig7711 3 ปีที่แล้ว

    This is a great and helpful video. I had an assignment and it helped me a lot. Thank you!

  • @lucasruiz6176
    @lucasruiz6176 ปีที่แล้ว

    Very neat video in terms of the information provided, thank you very much for helping us.

  • @ovidiublaga1
    @ovidiublaga1 4 ปีที่แล้ว +3

    Foarte misto!

    • @FlorinPop
      @FlorinPop  4 ปีที่แล้ว +1

      Ma bucur ca iti place 😃

    • @ovidiublaga1
      @ovidiublaga1 4 ปีที่แล้ว +2

      @@FlorinPop am aflat de canal de la traversy media. Am o grămadă de treaba zilele astea :) super tare. Meriți mult mai mti subscriberi

    • @FlorinPop
      @FlorinPop  4 ปีที่แล้ว

      Ovidiu Blaga Multumesc pentru cuvintele frumoase! De unde ai aflat de la Brad? Twitter sau TH-cam?

    • @ovidiublaga1
      @ovidiublaga1 4 ปีที่แล้ว

      @@FlorinPop de la videoul cu password generator în javascript

  • @jflo911b
    @jflo911b 4 ปีที่แล้ว

    Thanks so much Florin! Awesome tutorial!

  • @edgarspujats8282
    @edgarspujats8282 3 ปีที่แล้ว

    I know i'm kinda late but still thank you very much ! Your code is very clean and understandable, very appreciate your work !! :)

  • @amitsinha5621
    @amitsinha5621 4 ปีที่แล้ว

    This vedio got something in css and js both, woah it feels good clearing the doubt.

  • @ankurtyagi4770
    @ankurtyagi4770 4 ปีที่แล้ว +3

    Thanks for the great effort for community.

  • @pjguitar15
    @pjguitar15 3 ปีที่แล้ว +1

    Am I the only one who spends too much time on positioning, centering, and all styling and not getting it right haha. Thanks you for this tutorial btw 🙏

  • @nicholascottle8531
    @nicholascottle8531 3 ปีที่แล้ว +1

    The perfect tutorial doesn't exi...

  • @aurielklasovsky1435
    @aurielklasovsky1435 3 ปีที่แล้ว

    That was awesome. Thank you so much for this great tutorial!

  • @TheDream975
    @TheDream975 3 ปีที่แล้ว

    I like your code. Clear and understandable !👍👍

  • @juantato2012
    @juantato2012 3 ปีที่แล้ว

    This is by far the best tutorial I've ever followed. Thank you so much!

  • @turaleyyub5746
    @turaleyyub5746 3 ปีที่แล้ว +1

    But it doesnt go to another page(action="formControl.php")?..e.pereventDefault is in right place?

  • @ATIWatchReviews
    @ATIWatchReviews 3 ปีที่แล้ว +1

    Florin is definitely my new favourite instructor. Thank you

  • @dipzera1025
    @dipzera1025 4 ปีที่แล้ว +4

    How would you combine this with a POST Request?

    • @ChrisSmith-zn3li
      @ChrisSmith-zn3li 3 ปีที่แล้ว

      could use the fetch() API in JavaScript, the API would communicate with the server code

  • @williamlowry
    @williamlowry 3 ปีที่แล้ว +2

    this was an absolutely phenomenal tutorial. thank you so much!!

  • @mahdimotallebi7207
    @mahdimotallebi7207 3 ปีที่แล้ว

    Thank you Florin
    Great tutorial

  • @breno7849
    @breno7849 3 ปีที่แล้ว +3

    how do I now to go to another page? after it is valued it doesn’t leave this page anymore

    • @yaredghost5021
      @yaredghost5021 2 ปีที่แล้ว

      create another page and link it to the submit button

  • @Zsh3107
    @Zsh3107 3 ปีที่แล้ว

    Amazing bro thanks so much from Iran❤

  • @dominicamaljoef6693
    @dominicamaljoef6693 4 ปีที่แล้ว +1

    Thanks for this great video Florin...

  • @ZuzzuKiller
    @ZuzzuKiller 4 ปีที่แล้ว +2

    Someone can help me? I copy and paste the code but when all the fields are correct the submit button don't work, seems like the js block the submit.

  • @juuuu0
    @juuuu0 4 ปีที่แล้ว +3

    the e.preventDefault() does not allow me to submit the form even when everything is fine. but if i take it out it does not validate how do i fix this

    • @brenoverissimo3846
      @brenoverissimo3846 4 ปีที่แล้ว +1

      ive got the same problem, and ive been hitting my head in the keyboard for almost 24 hours now. If you find any answer, please, share with me!

    • @DiozConZ
      @DiozConZ 4 ปีที่แล้ว

      Same

    • @brenoverissimo3846
      @brenoverissimo3846 4 ปีที่แล้ว

      I actually found a solution. It consists on adding a boolean var into checkInputs and returning true to a conditional statement if the user has filled correctly everything. In this case you could write something like:
      If (checkInputs()){'e.target.submit();}
      being careful to erase any Id that could have been called 'submit', so it doesn't collide.

    • @marwinreyes314
      @marwinreyes314 4 ปีที่แล้ว +1

      can you elaborate more please, thank you

    • @juuuu0
      @juuuu0 4 ปีที่แล้ว +1

      @@brenoverissimo3846 thank you so much ❤❤❤

  • @legitimategamerhd6773
    @legitimategamerhd6773 4 ปีที่แล้ว

    I've been using vscode for about a month and I never knew that shorthand element creator feature @ 2:07 was a thing. Thanks :)

  • @decall
    @decall 3 ปีที่แล้ว

    thank you Florin for the great tutorial, it was just what I needed..

  • @kimjiyoung8655
    @kimjiyoung8655 2 ปีที่แล้ว

    Thank you so much Florin! :D

  • @The_Daily_Shorts
    @The_Daily_Shorts 4 ปีที่แล้ว +2

    Thanks for making this video. it's helpful!

  • @AlMagic911
    @AlMagic911 2 ปีที่แล้ว

    Great video, thanks!!

  • @softblood1941
    @softblood1941 4 ปีที่แล้ว +3

    why i can't submit the form even with the correct inputs ?

  • @AdriiPing
    @AdriiPing 4 ปีที่แล้ว +2

    As always helping me a lot w/ ur vids :)

  • @dienhoangkhai6025
    @dienhoangkhai6025 4 ปีที่แล้ว +1

    Hey guy, Can you make video about Javascript , how to improve Javascript skills? Thank you

  • @cynthiamanor6565
    @cynthiamanor6565 4 ปีที่แล้ว

    Great tutorial! Thanks for posting.

  • @adityachirde1919
    @adityachirde1919 3 ปีที่แล้ว +1

    its great but after following the same steps my submit button + java script not working anymore..how to fix that?

  • @ozzyozborne4539
    @ozzyozborne4539 5 ปีที่แล้ว +1

    Great video! but why you have to press submit so I can if its valid or not? isn't better if it will show valid directly?

  • @SiriusIAlpha
    @SiriusIAlpha 4 ปีที่แล้ว +5

    the same technique Brad Traversy used

    • @archangel0137
      @archangel0137 4 ปีที่แล้ว

      @Paul Maximus No big deal... devs all learn from each other!

  • @Omar_Muhammad
    @Omar_Muhammad 3 ปีที่แล้ว

    Thanks, man
    very helpful and informative video.

  • @zubaydullo_abdirakhmonov
    @zubaydullo_abdirakhmonov 3 ปีที่แล้ว

    Thanks for such a useful video, keep up the good work.

  • @robertoenriquechavezrodrig731
    @robertoenriquechavezrodrig731 3 ปีที่แล้ว

    Thank you so much, bro, this is a great tutorial. God bless you! Regards from Russia. 04.12.2021

  • @libertad83y
    @libertad83y 4 ปีที่แล้ว +1

    Thank you Florin, invaluable tutorial, thumbs up!

    • @FlorinPop
      @FlorinPop  4 ปีที่แล้ว

      👍🏻👍🏻👍🏻

  • @AmanAliJB
    @AmanAliJB 3 ปีที่แล้ว +2

    on submitting form nothing is happening ! please help

  • @pascalgage2695
    @pascalgage2695 4 ปีที่แล้ว

    A very nice work !!! Excellent ! Thanks ! I'm just using a text editor but it works !

  • @larrymartinez7387
    @larrymartinez7387 3 ปีที่แล้ว +1

    Very good tutorial, but I have a question because when I press submit it does not send the data by preventDefault().

    • @FlorinPop
      @FlorinPop  3 ปีที่แล้ว +1

      You have to submit it manually. form.submit() when everything is alright

    • @vivek.2448
      @vivek.2448 2 ปีที่แล้ว

      @@FlorinPop how to add form.submit () and a message/alert that says submitted successfully??

  • @germankerrman6341
    @germankerrman6341 3 ปีที่แล้ว +2

    Great video, I love the look of the form! However when I press submit, it doesn't actually create an account do you know how to do that?

    • @ChrisSmith-zn3li
      @ChrisSmith-zn3li 3 ปีที่แล้ว +1

      You would have to have a database server and connect to it via PHP (for example), then pass the data from the form to some PHP code via fetch API (for example), the PHP code would be written to insert the data into a users table (for example)

  • @digihz_data
    @digihz_data 2 ปีที่แล้ว

    Great presentation.

  • @wilmervargas4019
    @wilmervargas4019 2 ปีที่แล้ว

    Muy bueno esta esa validacion.. mi pregunta es como lo envio por ajax cuando todo el formulario este validado...de antemano muchas gracias...

  • @victorschweitz3506
    @victorschweitz3506 5 ปีที่แล้ว

    Hey Florin
    Can you make a tutorial on how to create the background slider from your 100 Days 100 Projects? And can you make a tutorial on how you created the landing page for your personal webpage? I'm most interested in the "See what others say" section with the slider underneath and the text to right that disappears after the slider is full.
    Thanks in advance!

  • @swapnilcodes
    @swapnilcodes 3 ปีที่แล้ว

    Awesome tutorial...💥♥️

  • @Sulaiman-vp1fi
    @Sulaiman-vp1fi 4 ปีที่แล้ว +1

    Thank you. but how can I upload all file html, css & js in a website?

  • @aravindashokkumar5425
    @aravindashokkumar5425 4 ปีที่แล้ว +1

    This form does not get submitted after all the fields are validated with green success.why?

    • @FlorinPop
      @FlorinPop  4 ปีที่แล้ว +2

      Because we preventDefault at the beginning of the submit event. You need to submit it manually in JavaScript calling the submit() function.

    • @mma9920
      @mma9920 4 ปีที่แล้ว

      @@FlorinPop doctument.getElementById("submit").submit(); sir I'm little confused when I need to put it in my code, plz If you can help me and thank you alot for your effort

  • @hamzajirah
    @hamzajirah 5 ปีที่แล้ว

    Good job, Florin.

  • @raigeki002
    @raigeki002 2 ปีที่แล้ว

    what editor are you using for your videos? i like the 'auto-update' rendering on the output side!

  • @Zubaer16
    @Zubaer16 3 ปีที่แล้ว

    Show message if everything is checked:
    const formControll = document.getElementsByClassName('form-control')
    function forSuccessMessage() {
    let success = 0
    for (i = 0; i < formControll.length; i++) {
    let formIterate = formControll
    let check = formIterate[i].classList.contains('success')
    if (check !== true) {
    success++
    break
    }
    }
    if (success === 1) {
    return 0
    } else {
    console.log('success')
    }
    }

  • @rakeshkharvi3029
    @rakeshkharvi3029 4 ปีที่แล้ว

    You just helped me a lot buddy ❤️

  • @mehdizeinali2557
    @mehdizeinali2557 4 ปีที่แล้ว +2

    bro thanks for your great tutorial .
    how we can find that there isn't any error now and call a method for example an ajax call?

    • @FlorinPop
      @FlorinPop  4 ปีที่แล้ว

      You’ll do it at the end when all the checks are passed.

    • @mehdizeinali2557
      @mehdizeinali2557 4 ปีที่แล้ว

      @@FlorinPop not bad idea but you have seperated all of conditions.
      with your current JS structure i think it's not possible

    • @bryanltobing
      @bryanltobing 4 ปีที่แล้ว

      @@mehdizeinali2557 me facing the same problem now

  • @darwinmelendres5469
    @darwinmelendres5469 3 ปีที่แล้ว

    Thank you sir Florin. Do you have any tutorial on how to connect the data to the database?

  • @debapriya5957
    @debapriya5957 4 ปีที่แล้ว +2

    Could you kindly show how to make this responsive?