Überschrift

editor /weblication/grid5/lib/php/weblication/wsl/wslScript.php POST if(wRequest::getParameter("wFormAction") == "reset"){ $this->reset(); wResponse::redirect($this->url); } $this->setFormData(wRequest::getParameters()); if($this->validate()){ $mailData = $this->getFormData(); $mailData["wFormData"] = $this->getMailDataStr(); wMailer::sendMailStr($this->getVar("mailStr"), $mailData); if($this->getVar("mailStrCustomer") != ""){ wMailer::sendMailStr($this->getVar("mailStrCustomer"), $mailData); } //Hier können Sie weitere Funktionen einfügen $this->initFormData(); $this->setStatus("sent"); if($this->getVar("redirectSuccess") == ""){ wResponse::redirect($this->url); } else{ wResponse::redirect($this->getVar("redirectSuccess")); } } else{ $this->setStatus("failed"); wResponse::redirect($this->url); } redirectSuccess redirectFailed mailStr From: [!--email--] To: test@cmsedit.de Content-Type: text/plain; charset=UTF-8 Subject: Anfrage vom Kontaktformular [!--wFormData--] mailStrCustomer title Anrede Herr Frau required wglRadioFloat firstname Vorname required text elementInput S lastname Nachname required text elementInput L email E-Mail* text elementInput XXL message Mitteilung XXL 4 found Wie haben Sie uns gefunden? Im Internet In einer Fachzeitschrift XXL agb-gelesen Ich stimme den AGBs zu. required Sie müssen den AGBs zustimmen. submit Abschicken reset Löschen

Envoyer le lien

Envoyer en tant que lien



Liens

  • Accueil