0

How can I make a form active, such that if I don't fill in, I can't submit??

17th Jun 2020, 8:38 AM
Okechukwu Onyema
Okechukwu Onyema - avatar
4 Respuestas
+ 3
U can use the attribute required for all elements in the form to enforce the user to fill all elements in it
17th Jun 2020, 9:28 AM
Muhammad Galhoum
Muhammad Galhoum - avatar
0
<form onsubmit="test()"> </form> ....... ...... function test (e) { e.preventDefault() }
17th Jun 2020, 11:09 AM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
0
Which language is this Vivek
21st Jun 2020, 6:10 PM
Okechukwu Onyema
Okechukwu Onyema - avatar
0
This is js or javascript . You can implement form validation. I can see you have javascript and other languages completed on your profile. My question is why you asked this?
22nd Jun 2020, 4:41 AM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar