Page 1 of 1

How do I make sure a form is validly submitted?

Posted: Tue Aug 11, 2015 8:06 pm
by A.W.H.

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!


How do I make sure a form is validly submitted?

Posted: Tue Aug 11, 2015 8:49 pm
by Serhii Kulibaba

Hello,

You can use next JS:

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