Python + Flask - Part 4 - Validating Registration Form with Javascript

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

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

  • @user-rx7ql4fq1g
    @user-rx7ql4fq1g Год назад

    Thank you for this great work. your easy explanation and real time showing the code is truly helping to undestand.

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

    Hi! I didn’t understand why do we use jsonify + where will we use the dictionary that we created with jsonify

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

      jsonify is used to send data back in json format, when a request is received through javascript code. That dictionary is shown in json format in the "response" part of our javascript code. json is the lingua franca of sending and receiving data, so that's why the jsonify library is important.

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

      Okay thanks!!

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

    I got a problem. When I write the email in the box that already exists I get the normal message that the user already exists and is fine, but when I write a new email after deleting the previous one, the message disappear and then I click the submit button and the message appears again and doensnt let me submit even though the email is now different.

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

      If you refresh the page do you still get the same message? This may be an issue with your browser rather than the program. You may also want to look at your output in the terminal and the browser to get more information about why this is occurring. Feel free to send it to me as well :)

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

    How do I get the app.models and Doctor?

    • @TheCSClassroom
      @TheCSClassroom  Год назад +1

      You might want to look at a previous videos (particularly the one on SQLAlachemy) as that wasn't really the focus of this video.