Adding enctype=”multipart/form-data” to a form leads to an error
Whenever I add the enctype
to the form, the form is not working well. For example, on the actual code I’m working on, it is saying the the firstname and lastname’s input should be filled because it is required: true;
but I’m filling out the input. If I try to remove the require: true
attribute to the firstname and lastname; then it has a new error saying: