0
How can I make a form active, such that if I don't fill in, I can't submit??
4 Antworten
+ 3
U can use the attribute required for all elements in the form to enforce the user to fill all elements in it
0
<form onsubmit="test()">
</form>
.......
......
function test (e) {
e.preventDefault()
}
0
Which language is this
Vivek
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?