Java im DFMl Formular

  • <HTML>
    <HEAD>
    <TITLE>Formular</TITLE>


    <script type="text/javascript">
    function checkForm() {
    var strFehler='';
    if (document.forms[0].KundeName.value=="")
    strFehler += "Feld Name ist leer\n";
    if (document.forms[0].benutzername.value=="")
    strFehler += "Feld Name ist leer\n";
    if (document.forms[0].dep_email2.value=="")
    strFehler += "Feld Name ist leer\n";
    if (document.forms[0].fehler.value=="") {
    strFehler += "Feld Name ist leer\n";


    }


    if (strFehler.length>0) {
    alert("Festgestellte Probleme: \n\n"+strFehler);
    return(false);
    }
    }
    </script>


    <style type="text/css">
    <!--
    BODY { font-family: VERDANA, ARIAL, HELVETICA, SANS-SERIF; font-size: 10pt; }


    A:link { color: #000000; text-decoration: none }
    A:visited { color: #000000; text-decoration: none }
    A:active { color: #000000; text-decoration: none }
    A:hover { color: #000000; text-decoration: none }


    #input { border-style: solid; border-color:#C0C0C0; border-width:1px; }
    #input-noborder { border-style: solid; border-color:#C0C0C0; border-width:0px; }
    #inputarea { overflow: auto; font-family: Tahoma; border-style: solid; border-color:#C0C0C0; border-width:1px; }
    #button { background-color: "#FFFFFF"; border-style: solid; border-color:#000000; border-width:1px; }



    td { font-family: VERDANA, ARIAL, HELVETICA, SANS-SERIF; font-size: 10pt; }
    p { margin-top:10px; margin-bottom:0px; }
    -->
    </style>
    </HEAD>

    ##windowsize=1024,786 fixed##



    ##CONTENT##
    <form onsubmit='return checkForm()'>


    <table>
    <tr>
    <td>


    <tr>
    <td>

    <h4> TICKET&nbsp;&nbsp;&nbsp; </h4>
    </td>
    </tr>
    <hr style="color:black; height:2px; width:850px;">


    </td>
    </tr>


    <tr>
    <td>
    ##LARGE## Rechner (Name):##/LARGE## <input type="text" name="KundeName" size="20" id=input>

    </td>
    </tr>


    <tr>
    <td>
    ##LARGE## Benutzername:##/LARGE## <input type="text" name="benutzername" size="20" id=input>

    </td>
    </tr>


    </table>
    <TABLE style="FONT: 10pt ARIAL; WIDTH: 100
    %">
    </table>


    <table>



    <tr>
    <td>
    </td>
    </tr>

    <tr>
    <td>


    </td>
    </tr>

    <tr>


    <td>
    </td>
    </tr>







    <tr>
    <td>
    <tr>
    <td>


    <u>##LARGE## Fehler: ##/LARGE##</u><br>


    <select name="dep_email2" size="1" id=input>
    <option value="-" selected>-- bitte wählen --</option>
    <option value="
    info@asdf.de">TAMARA</option>
    <option value="
    info@asdf.de">Internet</option>
    <option value="
    info@asdf.de">Fax</option>
    <option value="
    info@asdf.de">Drucker</option>
    <option value="info@asdf.de">Tobit</option>
    <option value="info@asdf.de">Amadeus</option>
    </select></p>


    </tr>


    <tr>
    <td>
    </td>
    </tr>


    <tr>
    <td>
    </td>
    </tr>


    <tr>
    <td>
    <u>##LARGE##BESCHREIBUNG FEHLER (StÖRUNG):##/LARGE##</u><br>
    <textarea name="fehler" cols=88 rows=3 wrap=virtual id=inputarea></textarea>


    </td>
    </tr>


    <tr>
    <td>
    <u>##LARGE##Rechner Neu gestartet?:##/LARGE##</u><br>
    <input type=radio value="Ja" name="neustart" id="neustart"><label for="neustart">Ja</label>

    <input type=radio value="Nein" name="neustart" id="neustart"><label for="neustart">Nein</label>


    </td>
    </tr>

    <tr>
    <td>
    </td>
    </tr>


    <tr>


    <td>
    </td>
    </tr>




    <td>


    </td>


    </table>



    <br>
    <br>
    <br>



    <u>Bitte Lesen!!!!!!!!!</u><br>
    <b>Ob der Rechner Neu gestartet wurde, wird von den Technikern im Eventlog geprüft.</b><br>
    <b> Für die Bearbeitung bitten wir Sie uns mindestens 30 Minuten Zeit zu geben.</b><br>
    <b> Wir bitten Sie von mehrfach Tickets abzusehen.</b><br>
    <br>



    <p style="margin-top: 40px">
    <input type=submit name="send" value="senden">
    <input type=reset name="reset" value="zurücksetzen">

    <input type=button name="exit" value="abbrechen">

    </p>


    <dfml name=mitarbeiter option=nosend option=noclose>
    ##dialog type=address destination=nummer##
    </dfml>


    <dfml name=Datei Option=nosend option=noclose>
    ##dialog type=attachment destination=send##
    </dfml>


    <DFML name=exit option=nosend option=close>

    </dfml>



    <DFML name=send>
    @@EMAIL ##dep_email2##

    @@DFML



    @@SUBJECT ##dep_email2##


    <HTML>
    <HEAD>
    <TITLE>Auftragsformular</TITLE>


    <style type="text/css">
    <!--
    BODY { font-family: VERDANA, ARIAL, HELVETICA, SANS-SERIF; font-size: 10pt; }


    A:link { color: #000000; text-decoration: none }
    A:visited { color: #000000; text-decoration: none }
    A:active { color: #000000; text-decoration: none }
    A:hover { color: #000000; text-decoration: none }


    #input { border-style: solid; border-color:#C0C0C0; border-width:1px; }
    #input-noborder { border-style: solid; border-color:#C0C0C0; border-width:0px; }
    #inputarea { overflow: auto; font-family: Tahoma; border-style: solid; border-color:#C0C0C0; border-width:1px; }
    #button { background-color: "#FFFFFF"; border-style: solid; border-color:#000000; border-width:1px; }



    td { font-family: VERDANA, ARIAL, HELVETICA, SANS-SERIF; font-size: 10pt; }
    p { margin-top:10px; margin-bottom:0px; }
    -->
    </style>
    </HEAD>

    ##*WINDOWSIZE=800,600 fixed nobuttons##


    ##*CONTENT##




    </form>
    <h4>Ticket</h4>


    <hr style="color:black; height:2px; width:850px;">



    Rechner (Name): <b>##KundeName##</b><br>
    Benutzername: <b>##benutzername##</b><br>
    <br>



    <u>Rechner Neu gestartet? (JA/Nein)</u><br>
    <b>##neustart##</b><br>
    <br>
    <u>BESCHREIBUNG FEHLER (STÖRUNG)</u></b><br>
    <b>##fehler##</b><br>
    <br>
    <br>
    <br>
    <br>


    <br>
    <br>

    3 Mal editiert, zuletzt von robertriemer ()

Jetzt mitmachen!

Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!