I have a sign up form for users requiring each dropdown list, input, and image upload be filled and selected. How do I make sure each component has been filled before submitting and uploading the user's data to the database?
Thank you!
I have a sign up form for users requiring each dropdown list, input, and image upload be filled and selected. How do I make sure each component has been filled before submitting and uploading the user's data to the database?
Thank you!
Hello,
You can use next JS:
preif (Apperyio("inputName").val()){
alert("filled");
} else {
alert("empty");
}/pre