Zum Inhalt springen

directmail frontend-felder hinzufügen

Erstellt am 22. Dezember 2002 · 1 Antwort · letzte Antwort am 1. Januar 2003

Tags: tt_address, Direct Mail, Frage

bk ·

hallo freunde,

wie kann ich neben den beiden feldern für den namen und e-mail beim directmail extension weitere, in der datenbank vorhandene, felder im frontend hinzufügen?

ich habe es damit versucht:

<FORM name="tt_address_form" method="post" action="###FORM_URL###">
  
###GW1B###Subscribe to our newsletter###GW1E###


    ###GW2B### <b>Your name:</b>

    <!--###SUB_REQUIRED_FIELD_name### begin
	This is shown only if the form is submitted and the field is configured to be "required" and at the same time not filled in.
	The syntax is of the comment 'name' is: 	SUB_REQUIRED_FIELD_[enter-the-field-name-here]
     -->
    <font color=red><strong>You must fill in this field!</strong></font>
    <!--###SUB_REQUIRED_FIELD_name### end -->
    <input type="text" name="FE[tt_address][name]">


    <b>Email:</b>
    <!--###SUB_REQUIRED_FIELD_email### begin
	Same as above...
	EVAL_ERROR_FIELD_email is in addition an error message defined in TypoScript in case an email address does not verify to be of correct syntax.
-->
    <font color=red><strong>You must fill in this field!</strong></font>
    ###EVAL_ERROR_FIELD_email###
    <!--###SUB_REQUIRED_FIELD_email### end-->
    <input type="text" name="FE[tt_address][email]">


  <b>Firma:</b> <br>
    <!--###SUB_REQUIRED_FIELD_company### end-->
    <input type="text" name="FE[tt_address][company]">


  <b>Adresse :</b>
    <!--###SUB_REQUIRED_FIELD_address### end-->
    <input name="FE[tt_address][address]" type="text" value="">

  <b>Stadt :</b>
    <!--###SUB_REQUIRED_FIELD_city### end-->
    <input name="FE[tt_address][city]" type="text" value="">
  

  <b>PLZ :</b> >
    <!--###SUB_REQUIRED_FIELD_zip### end-->
    <input name="FE[tt_address][zip]" type="text" value="">


    <b>Tel.:</b> 
    <!--###SUB_REQUIRED_FIELD_phone### end-->
    <input type="text" name="FE[tt_address][phone]">
 

  <b>Fax:</b> 
    <!--###SUB_REQUIRED_FIELD_fax### end-->
    <input type="text" name="FE[tt_address][fax]">


    <b>HTML emails?</b><BR>
    <input type="checkbox" name="FE[tt_address][module_sys_dmail_html]" value=1>


    <input type="submit" value="Subscribe">
    <input type="submit"  value="Cancel" onClick="document.forms[0].action='###BACK_URL###';">
    ###HIDDENFIELDS### </p>
  </FORM>

die felder firma, adresse, stadt, plz, telefon und fax werden allerdings nicht gefüllt.

wie kann ich das script dazu bringen die felder zu füllen und im backend anzuzeigen?

mfg

bk