HTML Form Validation: Complex Form Example Flashcards

1
Q

JavaScript Form Validation

A
function validateForm() {
    var x = document.forms["myForm"]["fname"].value;
    if (x == "") {
        alert("Name must be filled out");
        return false;
    }
}
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

HTML Form

A

Name:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Automatic HTML Form Validation

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly