I drives me crazy, I have a form whioch nicely retrieves data from CommBuilder
When I create a table, it showes the CB fields, eg cb_lidcode, cb_phone etc
On SAVE, no errors
But if I look in the table I cannot see teh CB Fields!!!
Also in "dataview" those fields don't show
The form code is "custom
It starts with
This is the code of one of the CB Fields
When I create a table, it showes the CB fields, eg cb_lidcode, cb_phone etc
On SAVE, no errors
But if I look in the table I cannot see teh CB Fields!!!
Also in "dataview" those fields don't show
The form code is "custom
It starts with
<?php
$user =& JFactory::getUser();
$db =& JFactory::getDBO();
$query = "SELECT * FROM `j17_comprofiler` WHERE `id` = ".$user->id."; ";
$db->setQuery($query);
$user_info = $db->loadObject();
?>
This is the code of one of the CB Fields
<div class="ccms_form_element cfdiv_text" id="lidcode_container_div"><label for="lidcode">Lidcode*</label>
<input name="cb_lidcode" type="text" id="cb_lidcode" size="25" maxlength="150" VALUE="<?php $user = &JFactory::getUser();echo $user_info->cb_lidcode;?>" disabled="disabled" </div>
<input name="cb_lidcode" type="hidden" id="cb_lidcode" VALUE="<?php $user = &JFactory::getUser();echo $user_info->cb_lidcode;?>" </div>
<div class="clear"></div>