hi alls, i'm a dummy chronoforms user, i've a problem within dynamic dropdown menu in a form:
i populate the dropdown with values bring from another table of db, the selection function fine BUT... when i saved form into db the value do not registered
sorry but i do not out from here, pls help me.
tks for coop
g.
this is the code that i find in this forum
i populate the dropdown with values bring from another table of db, the selection function fine BUT... when i saved form into db the value do not registered
sorry but i do not out from here, pls help me.
tks for coop
g.
this is the code that i find in this forum
<div class="form_item">
<div class="form_element cf_dropdown">
<label class="cf_label" style="width: 150px;">Select Person</label>
<select class="cf_inputbox validate-selection" id="cf_user_id" size="1" title="" name="cf_user_id">
<option value="">Choose Employee</option>
<?php
$db =& JFactory::getDBO();
$query = "
SELECT *
FROM #__chronoforms_capo_area ";
$db->setQuery($query);
$rows = $db->loadObjectList();
foreach ($rows as $row) {
echo "<option value='".$row->id."'>".$row->cognome_procacciatore."</option>";
}
?>
</select>
</div>
</div>