Anzeige

Autovervollständigen nicht bei allen Feldern

Autovervollständigen nicht bei allen Feldern | PSD-Tutorials.de

Erstellt von loomy, 21.05.2009.

  1. loomy

    loomy Noch nicht viel geschrieben

    Dabei seit:
    27.10.2006
    Beiträge:
    4
    Geschlecht:
    männlich
    Autovervollständigen nicht bei allen Feldern
    HI!

    hab da ein kleines Problemchen mit dem Autovervollständigen Feature des IE7
    Ein Formular welches die Daten für neue Objekte aufnimmt wird hundertmal mit ein und demselben Daten ausgefüllt bei den meisten Feldern zumindest.
    Und nun passiert es aber das bei dem Feld "Lage-DE" das Autovervollständigen nicht funktioniert. Dagegen ein Feld darunter bei "Lage-EN" gehts wieder ohne Probleme. (siehe die beiden Grafiken)
    Habe sämtliche Sachen ausprobiert welche mir eingefallen sind welche ich unter anderem auch hier nachlesen konnte.
    Auf allen möglichen PC's mit IE7 immer das gleiche Problem.
    Konnte im Quellcode keinen Fehler entdecken.
    Ja ich weiss ein paar Umlaute sind nicht ok aber daran kanns nicht liegen.

    Habe die Anordnung der Felder auch schon geändert - gleiches Problem. Immer bei dem einen Feld.

    hier der Code vielleicht sieht einer von euch den/einen Fehler:

    DANKE euch fürs lesen und mitgruebeln :confused:

    HTML:
    1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    2.   <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="de">
    3. <meta http-equiv="content-type" content="text/html;charset=ISO-8859-15" />
    4. <title>Interhomes-Caribe Admin manager</title>
    5. <link href="http://www.interhomes-caribe.com/real-estate/admin/template/style.css" rel="stylesheet" type="text/css" />
    6. <!--Open-Realty is distributed by Transparent Technologies and is Licensed under the Open-Realty License. See http://www.open-realty.org/license_info.html for more information.-->
    7. <script type="text/javascript">
    8. <!--
    9. function confirmDelete()
    10. {
    11. var agree=confirm("Sind Sie sicher, das Sie das löschen möchten?");
    12. if (agree)
    13. return true ;
    14. else
    15. return false ;
    16. }
    17. //-->
    18. <script type="text/javascript">
    19. <!--
    20. function open_window(url)
    21. {
    22. cwin = window.open(url,"attach","width=350,height=400,toolbar=no,resizable=yes");
    23. }
    24. function ptoutput(theText)
    25. {
    26. document.write(theText);
    27. }
    28. //-->
    29.  
    30. <script type="text/javascript">
    31. <!-- Nannette Thacker http://www.shiningstar.net //-->
    32. <!--
    33. function confirmDelete(msg)
    34. {
    35. if (!msg) {msg="Sind Sie sicher, das Sie das löschen möchten?"}
    36. var agree=confirm(msg);
    37. if (agree)
    38. return true ;
    39. else
    40. return false ;
    41. }
    42. function confirmUserDelete()
    43. {
    44. var agree=confirm("Sind sie sicher das Sie dieses Mitglied und alle seine Objekte löschen wollen?");
    45. if (agree)
    46. return true ;
    47. else
    48. return false ;
    49. }
    50. function IsNumeric(val){return(parseFloat(val,10)==(val*1));}
    51. //-->
    52. <script type="text/javascript">
    53. <!--
    54. function ChooseState()
    55. {
    56. if (document.getElementById("edit_isAgent").value == "no")
    57. {
    58. makeDisable();
    59. }
    60. else
    61. {
    62. makeEnable();
    63. }
    64. }
    65. function makeDisable()
    66. {
    67. document.getElementById("edit_canViewLogs").disabled=true;
    68. document.getElementById("edit_canViewLogs").selectedIndex = "no";
    69. document.getElementById("edit_canModerate").disabled=true;
    70. document.getElementById("edit_canModerate").selectedIndex = "no";
    71. document.getElementById("edit_canFeatureListings").disabled=true;
    72. document.getElementById("edit_canFeatureListings").selectedIndex = "no";
    73. document.getElementById("edit_canPages").disabled=true;
    74. document.getElementById("edit_canPages").selectedIndex = "no";
    75. document.getElementById("edit_canVtour").disabled=true;
    76. document.getElementById("edit_canVtour").selectedIndex = "no";
    77. document.getElementById("edit_canFiles").disabled=true;
    78. document.getElementById("edit_canFiles").selectedIndex = "no";
    79. document.getElementById("edit_canUserFiles").disabled=true;
    80. document.getElementById("edit_canUserFiles").selectedIndex = "no";
    81. document.getElementById("limitListings").disabled=true;
    82. document.getElementById("limitListings").value =0;
    83. document.getElementById("edit_canEditListingExpiration").disabled=true;
    84. document.getElementById("edit_canEditListingExpiration").selectedIndex = "no";
    85. document.getElementById("edit_canEditAllListings").disabled=true;
    86. document.getElementById("edit_canEditAllListings").selectedIndex = "no";
    87. document.getElementById("edit_canEditAllUsers").disabled=true;
    88. document.getElementById("edit_canEditAllUsers").selectedIndex = "no";
    89. document.getElementById("edit_canEditSiteConfig").disabled=true;
    90. document.getElementById("edit_canEditSiteConfig").selectedIndex = "no";
    91. document.getElementById("edit_canEditMemberTemplate").disabled=true;
    92. document.getElementById("edit_canEditMemberTemplate").selectedIndex = "no";
    93. document.getElementById("edit_canEditAgentTemplate").disabled=true;
    94. document.getElementById("edit_canEditAgentTemplate").selectedIndex = "no";
    95. document.getElementById("edit_canEditListingTemplate").disabled=true;
    96. document.getElementById("edit_canEditListingTemplate").selectedIndex = "no";
    97. document.getElementById("edit_canEditPropertyClasses").disabled=true;
    98. document.getElementById("edit_canEditPropertyClasses").selectedIndex = "no";
    99. }
    100. function makeEnable()
    101. {
    102. document.getElementById("edit_canViewLogs").disabled=false;
    103. document.getElementById("edit_canModerate").disabled=false;
    104. document.getElementById("edit_canFeatureListings").disabled=false;
    105. document.getElementById("edit_canPages").disabled=false;
    106. document.getElementById("edit_canVtour").disabled=false;
    107. document.getElementById("edit_canFiles").disabled=false;
    108. document.getElementById("edit_canUserFiles").disabled=false;
    109. document.getElementById("limitListings").disabled=false;
    110. document.getElementById("limitListings").value =-1;
    111. document.getElementById("edit_canEditListingExpiration").disabled=false;
    112. document.getElementById("edit_canEditAllListings").disabled=false;
    113. document.getElementById("edit_canEditAllUsers").disabled=false;
    114. document.getElementById("edit_canEditSiteConfig").disabled=false;
    115. document.getElementById("edit_canEditMemberTemplate").disabled=false;
    116. document.getElementById("edit_canEditAgentTemplate").disabled=false;
    117. document.getElementById("edit_canEditListingTemplate").disabled=false;
    118. document.getElementById("edit_canEditPropertyClasses").disabled=false;
    119. }
    120. //-->
    121. <script type="text/javascript" src="http://www.interhomes-caribe.com/real-estate/dateformat.js"></script>
    122. <script type="text/javascript" src="http://www.interhomes-caribe.com/real-estate/tabpane.js"></script>
    123. <script type="text/javascript">
    124. <!--
    125. function listing_change_confirm(s)
    126. {
    127. var check=confirm("Die Objekte des Maklers auf den gleichen Status setzen?\r\nOK für Ja\r\nAbbrechen für Nein ")
    128. if (check==true)
    129. {
    130. var selvalue = s.options[s.selectedIndex].value;
    131. document.updateUser.edit_listing_active.value = selvalue;
    132. }
    133. else
    134. {
    135. document.updateUser.edit_listing_active.value = "";
    136. }
    137. }
    138. //-->
    139.  
    140. <table style="margin-left:auto; margin-right:auto;" width="750" border="0" cellpadding="0">
    141. <tr>
    142. - <td><img src="../../../../dominican-republic-real-estate/interhomes-logo.jpg" width="125" height="152" border="0" /></td>
    143.   <td>
    144. <div style="float:right;width:400px;height:90px;font-family:'Times New Roman',Times,serif;font-size:9px;text-align:right;">
    145. </div>
    146. <div style="float:right;width:400px;font-family:Arial,Helvetica,sans-serif;font-size:12px;text-align:right;font-weight:bold">
    147. Version 2.5.3
    148. </div>
    149. </td>
    150. </tr>
    151. <tr>
    152. <td colspan="2">
    153. <div style="height:15px;width:750px;border-width:1px 0px 0px 0px;border-style:solid;padding-top:2px;padding-bottom:2px;margin-bottom:10px;font-family:Arial,Helvetica,sans-serif;font-size:8px;">
    154. <div style="float:left;">
    155. Version 2.5.3
    156. <a href="http://www.interhomes-caribe.com/real-estate/index.php">HOME</a> |
    157. <a href="http://www.interhomes-caribe.com/real-estate/admin/index.php">ADMIN</a>
    158. |
    159. <a href="http://www.interhomes-caribe.com/real-estate/admin/index.php?action=log_out">Abmelden</a>
    160.  
    161. </div>
    162. </div>
    163. </td>
    164. </tr>
    165. <tr>
    166. <td colspan="2" valign="top">
    167. <span class="section_header">Neues Objekt anlegen</span><!-- 0 >= -1 --><input type="hidden" name="property_class[]" value="1" />
    168. <script type="text/javascript" >
    169. <!--
    170. function validate_form()
    171. {
    172. var msg=""
    173. valid = true;
    174. if ( document.addlisting.title.value == "" )
    175. {
    176. msg += 'Sie haben vergessen komplett Auszufüllen: Titel Feld.\r\n';
    177. valid = false;
    178. }
    179. if (msg != "")
    180. {
    181. alert (msg);}
    182. return valid;
    183. }
    184. //-->
    185. <form name="addlisting" action="index.php?action=add_listing" method="post" onsubmit="return validate_form ( );"><input type="hidden" name="action" value="create_new_listing" /><table class="form_main"><tr><td align="right" class="row_main"><b>Titel<span class="required">*</span></b></td><td align="left" class="row_main"> <input type="text" name="title" /></td></tr><tr><td align="right"><b>Objekt Makler:</b></td><td align="left" class="row_main"><select name="or_owner" size="1"><option value="2">Manager,Office</option><option value="4">translate,tester</option></select></td></tr><tr><td align="right" class="row_main"><b>Notizen</b><br /><div class="small">(Nicht sichtbar für andere Benutzer)</div></td><td align="left" class="row_main"><textarea name="notes" cols="40" rows="6"></textarea></td></tr><input type="hidden" name="mlsexport" value="no" /><input type="hidden" name="property_class[]" value="1" /><tr><td align="right" class="row_main"><strong>Titel-EN </strong></td><td align="left" class="row_main"><input type="text" name="titel_en" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Titel-ES </strong></td><td align="left" class="row_main"><input type="text" name="titel_es" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Titel-FR </strong></td><td align="left" class="row_main"><input type="text" name="titel_fr" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Titel-IT </strong></td><td align="left" class="row_main"><input type="text" name="titel_it" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Titel-RU </strong></td><td align="left" class="row_main"><input type="text" name="titel_ru" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Listing-Nr </strong></td><td align="left" class="row_main"><input type="text" name="mls" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Lage-DE </strong></td><td align="left" class="row_main"><input type="text" name="city" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Lage-EN </strong></td><td align="left" class="row_main"><input type="text" name="lage_en" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Lage-ES </strong></td><td align="left" class="row_main"><input type="text" name="lage_es" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Lage-FR </strong></td><td align="left" class="row_main"><input type="text" name="lage_fr" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Lage-IT </strong></td><td align="left" class="row_main"><input type="text" name="lage_it" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Lage-RU </strong></td><td align="left" class="row_main"><input type="text" name="lage_ru" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Umgebung </strong></td><td align="left" class="row_main"><select name="Umgebung" size="1"><option value="Sosua">Sosua</option><option value="Cabarete">Cabarete</option><option value="Puerto-Plata">Puerto-Plata</option><option value="Cabrera">Cabrera</option><option value="Cangrejo">Cangrejo</option><option value="Cofresi">Cofresi</option><option value="Costambar">Costambar</option><option value="Gaspar-Hernandez">Gaspar-Hernandez</option><option value="Islabon">Islabon</option><option value="Las-Canas">Las-Canas</option><option value="Las-Terrenas">Las-Terrenas</option><option value="Luperon-Nagua">Luperon-Nagua</option><option value="Playa-Dorada-POP">Playa-Dorada-POP</option><option value="Punta-Rusia">Punta-Rusia</option><option value="Rio-San-Juan">Rio-San-Juan</option><option value="Sabaneta-de-Yasica">Sabaneta-de-Yasica</option><option value="Samana">Samana</option><option value="Santiago">Santiago</option><option value="Santo-Domingo">Santo-Domingo</option><option value="Sosua-Montellano">Sosua-Montellano</option><option value="sonstige">sonstige</option></select></td></tr><tr><td align="right" class="row_main"><strong>Preis </strong></td><td align="left" class="row_main"><input type="text" name="price" value="" style="width:100px;" onchange="if (!IsNumeric(form.price.value)) { alert('Bitte schreiben sie nur Zahlen oder Dezimalstellen in das Preis Feld'); form.price.focus();form.price.value=''; } " /></td></tr><tr><td align="right" class="row_main"><strong> </strong></td><td align="left" class="row_main"><select name="Waehrung" size="1"><option value="USD">USD</option><option value="Euro">Euro</option></select></td></tr><tr><td align="right" class="row_main"><strong>Status </strong></td><td align="left" class="row_main"><select name="status" size="1"><option value="Active">Active</option><option value="Reserviert">Reserviert</option><option value="Verkauft">Verkauft</option></select></td></tr><tr><td align="right" class="row_main"><strong>Beschreibung </strong></td><td align="left" class="row_main"><textarea name="full_desc_de" cols=40 rows=6></textarea></td></tr><tr><td align="right" class="row_main"><strong>Full Description </strong></td><td align="left" class="row_main"><textarea name="full_desc_en" cols=40 rows=6></textarea></td></tr><tr><td align="right" class="row_main"><strong>Detalles </strong></td><td align="left" class="row_main"><textarea name="full_desc_es" cols=40 rows=6></textarea></td></tr><tr><td align="right" class="row_main"><strong>Description complète </strong></td><td align="left" class="row_main"><textarea name="full_desc_fr" cols=40 rows=6></textarea></td></tr><tr><td align="right" class="row_main"><strong>Descrizione Completa </strong></td><td align="left" class="row_main"><textarea name="full_desc_it" cols=40 rows=6></textarea></td></tr><tr><td align="right" class="row_main"><strong>Full Description Rus </strong></td><td align="left" class="row_main"><textarea name="full_desc_ru" cols=40 rows=6></textarea></td></tr><tr><td align="right" class="row_main"><strong>Schlafzimmer </strong></td><td align="left" class="row_main"><input type="text" name="beds" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Badezimmer </strong></td><td align="left" class="row_main"><input type="text" name="baths" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>ueberbaute Wohnflaeche in qm </strong></td><td align="left" class="row_main"><input type="text" name="ueb_wohnflaeche" value="" style="width:100px;" onchange="if (!IsNumeric(form.ueb_wohnflaeche.value)) { alert('Bitte schreiben sie nur Zahlen oder Dezimalstellen in das ueberbaute Wohnflaeche in qm Feld'); form.ueb_wohnflaeche.focus();form.ueb_wohnflaeche.value=''; } " /></td></tr><tr><td align="right" class="row_main"><strong>Kuechen </strong></td><td align="left" class="row_main"><input type="text" name="kuechen" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Kuechen engl. </strong></td><td align="left" class="row_main"><input type="text" name="kuechen_en" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Kuechen span. </strong></td><td align="left" class="row_main"><input type="text" name="kuechen_es" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Kuechen FR </strong></td><td align="left" class="row_main"><input type="text" name="kuechen_fr" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Kuechen russ. </strong></td><td align="left" class="row_main"><input type="text" name="kuechen_ru" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Kueche it. </strong></td><td align="left" class="row_main"><input type="text" name="kuechen_it" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Grundstueck in qm </strong></td><td align="left" class="row_main"><input type="text" name="lot_size" value="" style="width:100px;" onchange="if (!IsNumeric(form.lot_size.value)) { alert('Bitte schreiben sie nur Zahlen oder Dezimalstellen in das Grundstueck in qm Feld'); form.lot_size.focus();form.lot_size.value=''; } " /></td></tr><tr><td align="right" class="row_main"><strong>möbliert </strong></td><td align="left" class="row_main"><select name="moebliert" size="1"><option value="ja">ja</option><option value="nein">nein</option><option value="teil">teil</option></select></td></tr><tr><td align="right" class="row_main"><strong>pool </strong></td><td align="left" class="row_main"><select name="Pool" size="1"><option value="ja">ja</option><option value="nein">nein</option></select></td></tr><tr><td align="right" class="row_main"><strong>Parken </strong></td><td align="left" class="row_main"><select name="parken" size="1"><option value="Stellplatz">Stellplatz</option><option value="Carport">Carport</option><option value="Garage">Garage</option></select></td></tr><tr><td align="right" class="row_main"><strong>Serviceraum </strong></td><td align="left" class="row_main"><select name="serviceraum" size="1"><option value="ja">ja</option><option value="nein">nein</option></select></td></tr><tr><td align="right" class="row_main"><strong>Finanzierung mgl. </strong></td><td align="left" class="row_main"><select name="finanz" size="1"><option value="ja">ja</option><option value="nein">nein</option></select></td></tr><tr><td align="right" class="row_main"><strong>Entf. Flughafen </strong></td><td align="left" class="row_main"><input type="text" name="Flughafen" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Entf. Strand </strong></td><td align="left" class="row_main"><input type="text" name="Strand" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Entf. Einkaufen </strong></td><td align="left" class="row_main"><input type="text" name="Einkaufen" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Entf. Schule </strong></td><td align="left" class="row_main"><input type="text" name="Schule" value="" style="width:100px;" /></td></tr><tr><td align="right" class="row_main"><strong>Entf.-Arzt </strong></td><td align="left" class="row_main"><input type="text" name="Arzt" value="" style="width:100px;" /></td></tr><tr><td colspan="2" align="left" class="row_main"><table class="admin_option_table"><tr><td colspan="3" class="admin_option_caption"> <br /><br /></td></tr><tr><td><input type="checkbox" value="24 Std. Stromversorgung" name="home_features[0]" />24 Std. Stromversorgung</td><td><input type="checkbox" value="Internet" name="home_features[1]" />Internet</td><td><input type="checkbox" value="Inversor" name="home_features[2]" />Inversor</td></tr><tr><td><input type="checkbox" value="Kabel-TV" name="home_features[3]" />Kabel-TV</td><td><input type="checkbox" value="Klimaanlage" name="home_features[4]" />Klimaanlage</td><td><input type="checkbox" value="Meerblick" name="home_features[5]" />Meerblick</td></tr><tr><td><input type="checkbox" value="Notstromaggregat" name="home_features[6]" />Notstromaggregat</td><td><input type="checkbox" value="Solar Pooltechnik" name="home_features[7]" />Solar Pooltechnik</td><td><input type="checkbox" value="Telefon" name="home_features[8]" />Telefon</td></tr><tr><td><input type="checkbox" value="Ventilatoren" name="home_features[9]" />Ventilatoren</td><td><input type="checkbox" value="Warmwasser Solar" name="home_features[10]" />Warmwasser Solar</td><td><input type="checkbox" value="Warmwasserbereiter" name="home_features[11]" />Warmwasserbereiter</td></tr><tr><td><input type="checkbox" value="bewachte Anlage" name="home_features[12]" />bewachte Anlage</td></tr></table></td></tr><tr><td align="center" class="row_main" colspan="2"><input type="submit" value="Senden" /></td></tr><tr><td colspan="2" align="center" class="row_main">die mit <span class="required">*</span> makierten Felder sind Pflichtfelder</td></tr></table></form>
    186. </td>
    187. </tr>
    188.  
    189. </body>
    190. </html>
    191. <!-- This page was generated in 1.1234889030456543 seconds -->
     
    #1      
x
×
×