A.W.H.
Posts: 0
Joined: Sat Jun 20, 2015 7:02 am

How do I make sure a form is validly submitted?

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!

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

How do I make sure a form is validly submitted?

Hello,

You can use next JS:

preif (Apperyio("inputName").val()){
alert("filled");
} else {
alert("empty");
}/pre

Return to “Issues”