CodeIgniter 4 from Scratch - #11 - Form Validation

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

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

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

    Very good, good explained, step by step! Great Tutorial

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

    Obrigado eu acabei quase uma semanda a tentar instar e trabalhar com CodeIgniter, mas quando comecei a assistir seus videos foi tão fácil.

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

    Thank you so much sir! Yours tutorials help me alot. From Cameroon.

  • @opentide-v0v
    @opentide-v0v 4 года назад

    Great tutorial! Many people who want to make their own web applications rapidly would be helped by it.

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

    Great tutorials.
    Advice: edit your "ou" snippet's last tag to and you won't get broken HTML

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

    Thank you very much for this! Really helpful when switching from CI3 to CI4! hope to see more videos in the future 🤞🏽

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

    Step by step, Great Tuts!

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

    Alex, another great tutorial.
    Thanks!

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

    Very helpful videos, thanks 🙏🙏👌👌

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

    Hi Alex, great tutorial! I appreciate a lot the efforts you put in teaching us! Thank you!

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

    You are done a good job.

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

    Great! Thanks man, It is just I was looking for. Regards from Colombia.

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

    Thank you for the video!! i'm waiting for the libraries video at Codeigniter 4 👍👍

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

      Hey, Markos, to say the truth I don't plan to make a video on libraries. And the reason is it is not something specific that can make a video on it's own. As CodeIgniter says Libraries are "Useful classes that don't fit in another category". So if you have a set of methods that you don't know where to include because you don't want them to make a Controller nor Model, then create a Library. For example I've showed an example of a Library usage when I created a RESTapi Authorization server. So i'd suggest you to watch: ruclips.net/video/uYX9FLi1BYg/видео.html at around 16:20 I start creating an Oauth.php library.
      Or another example of library usage: ruclips.net/video/9qIIjv17IgQ/видео.html at 15:10
      Check it out and let me know if that helps.

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

      @@AlexLancer Thanks! You're right, only it had confused me because in the libraries in codeigniter 3 we had to instantiate CI $this->CI = &get_instance()

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

      Glad you figured it out 😉

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

    Hey Alex! What extensions are you using? Can you share them?

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

    Thanks, for the great tutorial

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

    Very helpful tutorial. Thank you. May i known the name of your VSCode theme?

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

    This is wonderful! I am wondering how you are handing the routes. I think I butchered mine along my journey and would love to hear how someone with a better understanding of them manages their routes. - I have to struggle to create a route for pretty much everything.

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

      For sure you are missing something.
      You dont need to change routes unless you REALLY want to.
      Generally it works perfectly out of the box.
      Can not give you more specifics without reviewing your project.

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

    Buenisimo!!! very good video thanks a lot

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

    Hello.. May i ask.. What if we have an array input from Form... How to validate it and send old value into form.. Thankk

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

    Great tutorial. It answered a few questions for me. Would you consider a tutorial on Modules with the idea of creating reusable plugins to an app.

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

      Hey, Steven, I have in works a CRUD library now, that will make a CRM-CMS project creation a really easy process, that is somehow what you ask for but I am not sure if this will be a candidate for a youtube tutorial. Because it is quite large and advanced project. Maybe I'll make a simplified version of that. I am not sure if I answered your question. Maybe you can specify more details on what would you like to see on this channel.

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

      @@AlexLancer Thanks. I am looking more for guidance on having a module folder with its own controller, models and views. For example, if you create an invoicing system for clients and later you can offer a reporting module by just uploading it to the module folder and updating the routes. I have seen module tutorials in CI3 but I haven't see any for CI4 and I would be interested in seeing how you do it.

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

    Great tutorial!, thanks for sharing your knowledge. I've got a question, Is it deprecated to use " " ?

  • @Hal-sx1gb
    @Hal-sx1gb 3 года назад

    Hi, great tutorial, I have a question, what is the difference between the set_value () and old () functions? Thx

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

    I've been trying to validate a dropdownlist that comes with the names of the database users. the problem is that when I add it to the rules array and when executing it it doesn't work for me

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

    thanks for making tutorial on CIv4. It wouldn't have been easy to understand since their is a drastic change from the previous version..
    Although, we could easily autoload any helper or library in the CIv3. But I don't seem to understand the Autoload Config Class. So is their a way to autoload helper, library and services in the latest version?

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

      Yes you can. by using BaseController. you can preload everything there. Of course YourController must extend BaseController in order for this to work

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

      @@AlexLancer the $db instance doesn't work from BaseController..

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

    hello :) why do you pass the parameter by reference and not value in your date_check function?

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

    Thank you sir

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

    Hey Alex thanks for the nice video! :) However I have the following question: Is it possible to create a dependent validation rule? So for example I want the field "field 1" to be required if "field 2" contains the String "Test". Do you have an idea how to solve this? :)

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

    Hey thank you for your tutorials but the problem is that your tutorials are very old, and they have changed a lot in CI 4.3.3 (Latest Release), they have disabled Auto Routing, now we need to route everything.
    and nothing works without proper routing.
    can you please help me with latest version form validation? with routing?

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

    Thank you Alex for posting this Great tutorial, why use '&' in &$error, why not just $error ?

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

    hello, sir. i try use method old input data but not working. can you help me about this?

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

    What extension is that? with Routes, Vars, Views, Files

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

    What about the dynamic table add row ? Can it validate?

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

      I am not completely sure what you mean. Can you describe in more details?

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

    como faz para o error aparecer abaixo de cada input ?
    Brazil

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

    Please first complete this series of codeignator 4 tutorial from scratch then make an project with it 🧡💜🖤

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

      Hey, BRK, I will do some project soon.

  • @raghu.acharya
    @raghu.acharya 2 года назад

    How to autoload form library in CodeIgniter 4?

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

      I guess it's a little late, but just in case it helps someone else. You can autoload it in the BaseController. just add 'form' to the $helpers array.

  • @mr.ic4l
    @mr.ic4l 4 года назад

    great tutorial...... thanks for it!
    how u auto insert data into the form? is dat chrome extension? what is the name?

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

      It is a Form Filler Chrome Extension