Les avertissements suivants se sont produits :
Warning [2] Undefined array key 0 - Line: 1640 - File: showthread.php PHP 8.2.18 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 1640 errorHandler->error_callback
/showthread.php 915 buildtree




Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
[Résolu]validation xhtml de formbuilder
#7
Alors, ce code ci-dessous est validé xhtml strict 1.0 avec {search}.
Code :
<div class="recherche">      
<div class="search">
<form id="cntnt01moduleform_1" method="get" action="http://www.monsite.com/" class="cms_form">
<div class="hidden">
<input type="hidden" name="mact" value="Search,cntnt01,dosearch,0" />
<input type="hidden" name="cntnt01returnid" value="15" />
</div>
<input type="text" class="search-input" id="cntnt01searchinput" name="cntnt01searchinput" size="20" maxlength="50" value="Rechercher..." onfocus="if(this.value==this.defaultValue) this.value='';" onblur="if(this.value=='') this.value=this.defaultValue;"/>
</form>
</div>
</div>

Tandis que lorsque je mets {search resultpage="votre-recherche"}
J'obtiens
Code :
<div class="recherche">    
<div class="search">
<form id="cntnt01moduleform_1" method="get" action="http://www.monsite.com/votre-recherche.html" class="cms_form">
<div class="hidden">
<input type="hidden" name="mact" value="Search,cntnt01,dosearch,0" />
<input type="hidden" name="cntnt01returnid" value="77" />
</div>
<input type="text" class="search-input" id="cntnt01searchinput" name="cntnt01searchinput" size="20" maxlength="50" value="Rechercher..." onfocus="if(this.value==this.defaultValue) this.value='';" onblur="if(this.value=='') this.value=this.defaultValue;"/>
<input type="hidden" id="cntnt01origreturnid" name="cntnt01origreturnid" value="15" />
</form>
</div>    
</div>

Mais bon, le module n'est pas encore valide xhtml strict 1.0, dommage!
Merci encore
Et je n'oublie pas de mettre "résolu" bien sûr!!


Messages dans ce sujet

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)