+ 1

Validating a input and directing the submit to a new page if the input is true or correct using JS

I have a simple textbox and I need a code that will collect the detail that will be inputed in the textbox and validate it with js and if it's correct the submit button will link to a new page

22nd May 2018, 8:01 PM
Onwudinjo Azuka Alexander
Onwudinjo Azuka Alexander - avatar
2 odpowiedzi
+ 3
Since you do not mention what kind of validation you want to perform and how you are working with the form, I think this can help you: https://www.w3schools.com/js/js_validation.asp
22nd May 2018, 8:38 PM
Mickel
Mickel - avatar
0
@mickel sanchez Thanks
22nd May 2018, 9:03 PM
Onwudinjo Azuka Alexander
Onwudinjo Azuka Alexander - avatar