Input tag and name attribut
Posted: Tue Mar 10, 2015 10:15 am
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<Meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="author" content="Walter Metzger" />
<meta name="description" content="Verein für Körperbehinderte Esslingen e.V., VfK" />
<meta name="generator" content="CSE HTML Validator Professional Edition" />
<meta name="keywords" content="Körperbehinderung, körperbehinderte, behindert, Rückenwind, Selbsthilfe" />
<meta name="robots" content="index,follow" />
<title>Verein für Körperbehinderte Esslingen/N. e.V.</title>
<style type="text/css">
.validend {
background-color: #F4D05E;
color: #000000;
font-size: 0.7em;
margin: 0 0 0 230px;
padding: 30px 30px 30px 0;
text-align: right;
}
body {
background-color: #F4D05E;
color: #000000;
font-family: verdana, arial, helvetica, sans-serif;
margin: 50px 0 0 200px;
}
</style>
</head>
<body>
<!-- Das Formular beginnt hier, die folgende Zeile NICHT ändern: -->
<form action="http://www.formular-chef.de/fc.cgi" method=post enctype="multipart/form-data">
<!-- Wir definieren die Felder für Name, Email und Mitteilung als Pflichtfelder: -->
<input type="hidden" name="pflicht" value="Name,Anschrift,Mitteilung">
<!-- E-Mail kein Pflichfeld, es kann dann auch ohne Mail-Adresse kontaktiert werden-->
<!-- Wir geben (zusätzlich) einen festen eMail-Empfänger an: -->
<input type=hidden name="empfaenger" value="koerperbehinderte-es@t-online.de">
<!-- Derzeit Errors (1) Warnings (7) in CSE HTML Validator - gelegentlich testen, siehe Zeile 63 usw -->
<p style="color:black; background-color:#F4D05E; font-size:1.5em; font-weight:bold">Verein für Körperbehinderte Esslingen/N. e.V</p><br /><br />
<p style="color:black; background-color:#F4D05E; font-size:1.2em; font-weight:bold">Kontaktformular</p><br />
<p style="color:black; background-color:#F4D05E; font-size:0.8em; font-weight:bold">Name (Vor- und Nachname), Anschrift und Mitteilung sind Pflichtfelder</p><br />
<table>
<tr>
<th scope="rowgroup" rowspan="7"></th>
<th scope="rowgroup" colspan="2"></th>
<tr>
<td style="text-align:right; color:black; background-color:#CDD7F7">Vor- und Nachname:</td>
<td><input name="Name" id="name" size="20" type="text"></td>
<tr>
<td style="text-align:right; color:black; background-color:#CDD7F7">Anschrift:</td>
<td><input name="Anschrift" size="20" type="text"></td>
<tr>
<td style="text-align:right; color:black; background-color:#CDD7F7">Telefon:</td>
<td><input name="Telefon" size="20" type="text"></td>
<tr>
<td style="text-align:right; color:black; background-color:#CDD7F7">E-Mail</td>
<td><input name="E-Mail" size="20" type="text"></td>
<tr>
<td style="text-align:right; color:black; background-color:#CDD7F7">Mitteilung:</td>
<td><textarea name="Mitteilung" rows="10" cols="40"></textarea></td>
<tr>
<td colspan=2 style="text-align: left;">
<p>
<input type=submit value="An Verein senden">
</td>
</table>
<div class="validend">
<p style="text-align: right">(Formular-Service vom <a href='http://www.formular-chef.de/index.cgi' target='_blank'>Formular-Chef ... (öffnet neues Fenster)</a>)<br /><br />
<!-- TEMPLATESTART
TEMPLATE=C:\Users\klavier\Metzger\Homepage\template.txt
-->
© 2007 by VfK • letzte Änderung am Montag, 09. Mrz. 2015 - 21:23:05 Uhr
<!-- TEMPLATEEND -->
</p>>
</div>
</form>
</body>
</html>
----------------------------------------------------------
I have no erros, but warnings from Validator 15.0200:
1. all inputs and for textarea
Warning in line 66 at character 7: (Accessibility->WCAG 2.0 (Level A))
The "input" tag does not have an "id" attribute which should be used to explicitly associate this control with a "label" element. ….
2. value of the "name" attribute
Warning in line 63 at character 22: (Grouped->Avoid Potential Conflict) The value of the "name" attribute ("Name") may conflict with properties of the JavaScript Form object when using JavaScript. It is recommended that the value of the "name" attribute be changed to avoid potential conflict when accessing the form object's properties, methods, and event handlers. Values that should not be used include "action", "elements", "encoding", "length", "method", "name", "target", "reset", "submit", and some others. ...
Sorry, I do not find the reason, can someone give tips please?
Greetings from Germany
We enjoy a wonderful spring time
Walter Metzger
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<Meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="author" content="Walter Metzger" />
<meta name="description" content="Verein für Körperbehinderte Esslingen e.V., VfK" />
<meta name="generator" content="CSE HTML Validator Professional Edition" />
<meta name="keywords" content="Körperbehinderung, körperbehinderte, behindert, Rückenwind, Selbsthilfe" />
<meta name="robots" content="index,follow" />
<title>Verein für Körperbehinderte Esslingen/N. e.V.</title>
<style type="text/css">
.validend {
background-color: #F4D05E;
color: #000000;
font-size: 0.7em;
margin: 0 0 0 230px;
padding: 30px 30px 30px 0;
text-align: right;
}
body {
background-color: #F4D05E;
color: #000000;
font-family: verdana, arial, helvetica, sans-serif;
margin: 50px 0 0 200px;
}
</style>
</head>
<body>
<!-- Das Formular beginnt hier, die folgende Zeile NICHT ändern: -->
<form action="http://www.formular-chef.de/fc.cgi" method=post enctype="multipart/form-data">
<!-- Wir definieren die Felder für Name, Email und Mitteilung als Pflichtfelder: -->
<input type="hidden" name="pflicht" value="Name,Anschrift,Mitteilung">
<!-- E-Mail kein Pflichfeld, es kann dann auch ohne Mail-Adresse kontaktiert werden-->
<!-- Wir geben (zusätzlich) einen festen eMail-Empfänger an: -->
<input type=hidden name="empfaenger" value="koerperbehinderte-es@t-online.de">
<!-- Derzeit Errors (1) Warnings (7) in CSE HTML Validator - gelegentlich testen, siehe Zeile 63 usw -->
<p style="color:black; background-color:#F4D05E; font-size:1.5em; font-weight:bold">Verein für Körperbehinderte Esslingen/N. e.V</p><br /><br />
<p style="color:black; background-color:#F4D05E; font-size:1.2em; font-weight:bold">Kontaktformular</p><br />
<p style="color:black; background-color:#F4D05E; font-size:0.8em; font-weight:bold">Name (Vor- und Nachname), Anschrift und Mitteilung sind Pflichtfelder</p><br />
<table>
<tr>
<th scope="rowgroup" rowspan="7"></th>
<th scope="rowgroup" colspan="2"></th>
<tr>
<td style="text-align:right; color:black; background-color:#CDD7F7">Vor- und Nachname:</td>
<td><input name="Name" id="name" size="20" type="text"></td>
<tr>
<td style="text-align:right; color:black; background-color:#CDD7F7">Anschrift:</td>
<td><input name="Anschrift" size="20" type="text"></td>
<tr>
<td style="text-align:right; color:black; background-color:#CDD7F7">Telefon:</td>
<td><input name="Telefon" size="20" type="text"></td>
<tr>
<td style="text-align:right; color:black; background-color:#CDD7F7">E-Mail</td>
<td><input name="E-Mail" size="20" type="text"></td>
<tr>
<td style="text-align:right; color:black; background-color:#CDD7F7">Mitteilung:</td>
<td><textarea name="Mitteilung" rows="10" cols="40"></textarea></td>
<tr>
<td colspan=2 style="text-align: left;">
<p>
<input type=submit value="An Verein senden">
</td>
</table>
<div class="validend">
<p style="text-align: right">(Formular-Service vom <a href='http://www.formular-chef.de/index.cgi' target='_blank'>Formular-Chef ... (öffnet neues Fenster)</a>)<br /><br />
<!-- TEMPLATESTART
TEMPLATE=C:\Users\klavier\Metzger\Homepage\template.txt
-->
© 2007 by VfK • letzte Änderung am Montag, 09. Mrz. 2015 - 21:23:05 Uhr
<!-- TEMPLATEEND -->
</p>>
</div>
</form>
</body>
</html>
----------------------------------------------------------
I have no erros, but warnings from Validator 15.0200:
1. all inputs and for textarea
Warning in line 66 at character 7: (Accessibility->WCAG 2.0 (Level A))
The "input" tag does not have an "id" attribute which should be used to explicitly associate this control with a "label" element. ….
2. value of the "name" attribute
Warning in line 63 at character 22: (Grouped->Avoid Potential Conflict) The value of the "name" attribute ("Name") may conflict with properties of the JavaScript Form object when using JavaScript. It is recommended that the value of the "name" attribute be changed to avoid potential conflict when accessing the form object's properties, methods, and event handlers. Values that should not be used include "action", "elements", "encoding", "length", "method", "name", "target", "reset", "submit", and some others. ...
Sorry, I do not find the reason, can someone give tips please?
Greetings from Germany
We enjoy a wonderful spring time
Walter Metzger