Hello All !
I have a profile form made from a copy of the original one and configured with the Profile plugin.
There are several fields in it, mainly text, but 3 drop-down boxes. The last one (list select_26) doesn't display the value from the data table, and I don't understand why...
Here's the code for the last 2 drop-down boxes:
And here's the html code that's generated:
One can see the "selected" value in the first list, but not the second, eventhough the data was present in the table. Furthermore, I don't understand why it's working well in the original form, and not the copied "profile" one.
And I checked for missing quotes (never know... I hope it's not *that* dumb mistake...)
Thanks for your help,
Paul-Henri
I have a profile form made from a copy of the original one and configured with the Profile plugin.
There are several fields in it, mainly text, but 3 drop-down boxes. The last one (list select_26) doesn't display the value from the data table, and I don't understand why...
Here's the code for the last 2 drop-down boxes:
<div class="form_item">
<div class="form_element cf_dropdown">
<label class="cf_label" style="width: 150px;">Nature de l'organisation</label>
<select class="cf_inputbox validate-selection" id="select_25" size="1" title="" name="nature_organisation">
<option value="NA">Choisissez une option...</option>
<option value="Association">Association</option>
<option value="Individu">Individu</option>
<option value="Grande Entreprise">Grande Entreprise</option>
<option value="PME/TPE">PME/TPE</option>
<option value="Organisme de recherche">Organisme de recherche</option>
<option value="Autre">Autre</option>
</select>
</div>
<div class="cfclear"> </div>
</div>
<div class="form_item">
<div class="form_element cf_dropdown">
<label class="cf_label" style="width: 150px;">Domaine d'activité</label>
<select class="cf_inputbox validate-selection" id="select_26" size="1" title="" name="domaine">
<option value="NA">Choisissez une option...</option>
<option value="Biotech_environnement/énergie">Biotech environnement/énergie</option>
<option value="Biotech_industrielle">Biotech industrielle</option>
<option value="Biotech_médicale">Biotech médicale</option>
<option value="Diagnostic">Diagnostic</option>
<option value="Equipement_médical">Equipement médical</option>
<option value="Pharma">Pharma</option>
<option value="TIC_R&D">TIC R&D</option>
<option value="TIC_Santé">TIC Santé</option>
<option value="Autre">Autre</option>
</select>
</div>
<div class="cfclear"> </div>
</div>
And here's the html code that's generated:
<div class="form_item">
<div class="form_element cf_dropdown">
<label class="cf_label" style="width: 150px;">Nature de l'organisation</label>
<select class="cf_inputbox validate-selection" id="select_25" size="1" title="" name="nature_organisation">
<option value="NA">Choisissez une option...</option>
<option value="Association">Association</option>
<option value="Individu">Individu</option>
<option value="Grande Entreprise">Grande Entreprise</option>
<option selected="selected" value="PME/TPE">PME/TPE</option>
<option value="Organisme de recherche">Organisme de recherche</option>
<option value="Autre">Autre</option>
</select>
</div>
<div class="cfclear"> </div>
</div>
<div class="form_item">
<div class="form_element cf_dropdown">
<label class="cf_label" style="width: 150px;">Domaine d'activité</label>
<select class="cf_inputbox validate-selection" id="select_26" size="1" title="" name="domaine">
<option value="NA">Choisissez une option...</option>
<option value="Biotech_environnement/énergie">Biotech environnement/énergie</option>
<option value="Biotech_industrielle">Biotech industrielle</option>
<option value="Biotech_médicale">Biotech médicale</option>
<option value="Diagnostic">Diagnostic</option>
<option value="Equipement_médical">Equipement médical</option>
<option value="Pharma">Pharma</option>
<option value="TIC_R&D">TIC R&D</option>
<option value="TIC_Santé">TIC Santé</option>
<option value="Autre">Autre</option>
</select>
</div>
<div class="cfclear"> </div>
</div>
One can see the "selected" value in the first list, but not the second, eventhough the data was present in the table. Furthermore, I don't understand why it's working well in the original form, and not the copied "profile" one.
And I checked for missing quotes (never know... I hope it's not *that* dumb mistake...)
Thanks for your help,
Paul-Henri