hello a tous je me prend la tête avec un seelct qui doit me renvoyer une valeur théoriquement c'est tout con .... mais il ne me renvoie rien ...
puis a la fin de mon form
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 <tr class="fc_gm_custom_marker_row"> <td class="key"><label class="fc-prop-lbl fc_gm_custom_marker-lbl" for="'.$elementid_n.'_custom_marker">'.JText::_('PLG_FLEXICONTENT_FIELDS_ADDRESSINT_CUSTOM_MARKER').'</label></td> <td> '.JHtml::_('select.genericlist', $custom_markers, $fieldname_n.'[custom_marker]',' class=" fc_gm_custom_marker" ', 'value', 'text', ($value['custom_marker'] ? $value['custom_marker'] : $custom_marker_default), $elementid_n.'_custom_marker').' </td> </tr>
j'ai checker le html rendu cela a l'air bon ...
Code : Sélectionner tout - Visualiser dans une fenêtre à part <input type="hidden" id="'.$elementid_n.'_custom_marker" name="'.$fieldname_n.'[custom_marker]" value="'.htmlspecialchars($value['custom_marker'], ENT_COMPAT, 'UTF-8').'" />
Puis plus loin ...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 <tr class="fc_gm_custom_marker_row"> <td class="key"><label class="fc-prop-lbl fc_gm_custom_marker-lbl" for="custom_field51_0_custom_marker">Custom icon</label></td> <td> <select id="custom_field51_0_custom_marker" name="custom[field51][0][custom_marker]" class="fc_gm_custom_marker" aria-invalid="false"> <option value="" selected="selected">Sélectionner</option> <option value="C:\wamp64\www\flexidev/images/icons/1.png">1.png</option> <option value="C:\wamp64\www\flexidev/images/icons/2.png">2.png</option> </select> </td> </tr>
bon mais il ne me renvoi jamais la valeur selectionnée
Code : Sélectionner tout - Visualiser dans une fenêtre à part <input type="hidden" id="custom_field51_0_custom_marker" name="custom[field51][0][custom_marker]" value="">
j'ai bien la globalité de mon formulaire qui marche sauf ce select .... je deviens un peu fou d'ù l'idée de vous demander un regards extérieur ...
Merci par avance








Répondre avec citation


Partager