Hi!
I have been swimming in the forum looking for the solution but I can't seem to find any for my problemo (or am i blind?)
I'm using Chronoforms 3.1 RC5.3 and CB 1.2. For some reason I can't get my custom registration form to save on jos_comprofiler using the CB plugin. I flawlessly use the Joomla Registration plugin but when I use the CB Registration, it just doesn't save.
I have ticked the CB box on the plug in tab, on the forms management page I have configured the CB Registration plugin,
i have placed this on the before submit code to catch errors (copied from another thread)
and tried this too
and i get no errors in return. The registration seemed to be successful but when i check the db no rows has been added.
what could i be missing? TIA!
I have been swimming in the forum looking for the solution but I can't seem to find any for my problemo (or am i blind?)
I'm using Chronoforms 3.1 RC5.3 and CB 1.2. For some reason I can't get my custom registration form to save on jos_comprofiler using the CB plugin. I flawlessly use the Joomla Registration plugin but when I use the CB Registration, it just doesn't save.
I have ticked the CB box on the plug in tab, on the forms management page I have configured the CB Registration plugin,
i have placed this on the before submit code to catch errors (copied from another thread)
<?php
$MyPlugins =& CFPlugins::getInstance($MyForm->formrow->id);
if($MyPlugins->cf_cb_registration['errors']){
$MyForm->addErrorMsg($MyPlugins->cf_cb_registration['errors']);
}
$MyForm->haltFunction["autogenerated_after_email"] = true;
?>
and tried this too
<?php
$MyForm =& CFChronoForm::getInstance('formnamehere');
$MyPlugins =& CFPlugins::getInstance($MyForm->formrow->id);
if($MyPlugins->cf_cb_registration['errors']){
$MyForm->formerrors = $MyPlugins->cf_cb_registration['errors'];
return;
}
?>
and i get no errors in return. The registration seemed to be successful but when i check the db no rows has been added.
what could i be missing? TIA!