Forum » » SFORM » » add_estender et !javascript!
Posté : 19-09-2003 10:05 
Bonjour:
fichier sform.php ligne 293: remplacer le code jusuq'au break par:
// Charge la valeur et analyse la clef
if ($this->form_fields[$i]['name']==$this->form_key) {
$this->form_key_value=$this->form_fields[$i]['value'];
if ($this->form_key_status=="close") {
$str.="<input CLASS=\"TEXTBOX_STANDARD\" type=hidden name='".$this->form_fields[$i]['name']."' value='".$this->form_fields[$i]['value']."' size=".$csize." maxlength=".$this->form_fields[$i]['size'];
$str.="<b>".$this->form_fields[$i]['value']."</b>
";
} else {
$str.="<input CLASS=\"TEXTBOX_STANDARD\" type=".$this->form_fields[$i]['type']." name='".$this->form_fields[$i]['name']."' value='".$this->form_fields[$i]['value']."' size=".$csize." maxlength=".$this->form_fields[$i]['size'];
}
} else {
$str.="<input CLASS=\"TEXTBOX_STANDARD\" type=".$this->form_fields[$i]['type']." name='".$this->form_fields[$i]['name']."' value='".$this->form_fields[$i]['value']."' size=".$csize." maxlength=".$this->form_fields[$i]['size'];
}
if ($num_extender!="no") {
$str.=" ".$this->form_fields[$num_extender]['javas']."> ";
$str.=$this->form_fields[$num_extender]['html'];
} else {
$str.="> ";
}
$str.="</td></tr>";
break;
ET CA MARCHE !!!!
Merci à dev de me dire si ça convient et de l'intégrer pour les futures versions
Ghorgy
Cet article provient de NPDS REvolution 16
https://lab.grottes-et-karsts-de-chine.org/viewtopic.php?topic=7626&forum=19