Zur Hauptnavigation springen Zur Suche springen Zum Inhalt springen
RSSPrint

Kontaktformular

<script type="text/javascript">

// <![CDATA[

function clearField (thisfield, placeholder) {

if (thisfield.value == placeholder) { thisfield.value = ''}

}

 

function isEmpty( inputStr ) { if ( null == inputStr || "" == inputStr ) { return true; } return false; }

 

function validate() {

try {

fields = document.forms.Kontakt.required.value.split(",");

flag = true; var i = 0;

for (i = 0; i<fields.length;i++) {

field = fields[i];

if (!field) continue;

// alert("Validate field: "+ field);

if (isEmpty(document.forms.Kontakt[field].value) || document.forms.Kontakt[field].value == document.forms.Kontakt[field].defaultValue) {

flag = false; break;

}

}

if (flag) {

document.forms.Kontakt.ms_from_address.value = document.forms.Kontakt.sender.value;

document.forms.Kontakt.ms_bcc_address.value = document.forms.Kontakt.sender.value;

return true;

} else {

alert("Füllen Sie bitte die Pflichtfelder aus.");

return false;

}

} catch (err) { alert(err); }

return false;

}

// ]]>

</script>

 

 

<form action="/Webdesk/sendmail" method="post" name="Kontakt" onsubmit="return validate();">

<input name="ms_subject" type="hidden" value="E-Mail-Formular von www.advent-zachaeus.de" /> <input name="ms_from_address" type="hidden" value="mbheymann@gmail.com" /> <input name="ms_to_address" type="hidden" value="buero@advent-zachaeus.de" /> <input name="ms_bcc_address" type="hidden" value="support@netblast.no" /><input name="ms_content" type="hidden" value="&lt;pre&gt;

&lt;b&gt;$ms_subject$&lt;/b&gt;

&lt;hr&gt;

Kontaktdaten des Absenders:

$anrede$

$vorname$ $nachname$

Anschrift:

$strasse$ $hnr$

$plz$ $ort$

Tel.: $telefon$

Absender-E-Mail: $sender$

&lt;hr&gt;

Betreff: $betreff$

Nachricht:

$nachricht$

 

 

 

 

&lt;/pre&gt;" /> <input name="ms_message" type="hidden" value="- Das Formular wurde erfolgreich gesendet. Vielen Dank!" /> <input name="ms_mimetype" type="hidden" value="text/html" /> <input id="required" name="required" type="hidden" value="nachname,sender,nachricht" />

 

 

Anrede

 

 

<select name="anrede"><option>Herr</option><option>Frau</option></select>

 

 

 

 

 

Vorname

 

 

<input maxlength="35" name="vorname" size="25" type="text" />

 

 

 

 

Name*

 

 

<input maxlength="35" name="nachname" size="25" type="text" />

 

 

 

 

Strasse Hausnummer

 

 

<input maxlength="25" name="strasse" size="25" type="text" />

 

 

<input maxlength="5" name="hnr" size="5" type="text" />

 

 

 

 

PLZ Ort

 

 

<input maxlength="5" name="plz" size="5" type="text" />

 

 

<input maxlength="25" name="ort" size="25" type="text" />

 

 

 

 

Telefonnummer

 

 

<input maxlength="35" name="telefon" size="25" type="text" />

 

 

 

 

Ihre E-Mail*

 

 

<input maxlength="45" name="sender" size="25" type="text" />

 

 

 

 

Betreff

 

 

<input maxlength="50" name="betreff" size="25" type="text" />

 

 

 

 

Ihre Nachricht*

 

 

 

<textarea cols="22" name="nachricht" rows="6"></textarea>


 

 

<input class="fliesstext" style="font-size: 0.9em; background-color: #eeeeff;" type="submit" value="senden" />

 

 

* Pflichtfelder

</form>

 



 Seite drucken