Latest version of chronoforms 4 and Joomla 2.5.14
Two problems with custom registration form with chronoforms:
#1 - Additional field not writing User id to 2nd table ( ifjo4_users_info)
Right now I only have 1 additional field "sex" it is writing to the info table, however it's not writing the newly generated user id to the ifjo4_users_info table. Screen cap of my Events tab is attached (I've tried the custom code and DB Save also after onFail (not inside onFail) still inside Joomla User Reg - and it doesn't matter, same result)
Joomla Reg settings:
Override Joomla Allow: yes
Usertype: Registered
User activation: no
Send Activation: no
Random Pass: no
Auto Login: yes
display status: no
Custom Code:
Mode: controller
Code:
The form is called "givve_reg" I've also tried that variable as "joomla_registration" it makes no difference, same results.
DB Save:
Enabled: yes
Table: ifjo4_users_info
Model ID: chronoform_data
Save under model Id: no
--------------------------------------------------------------------------
Problem #2 - it's writing fine to the users table except for Usertype: Registered, that's comes back as "depricated"
Thanks
Lydia
Two problems with custom registration form with chronoforms:
#1 - Additional field not writing User id to 2nd table ( ifjo4_users_info)
Right now I only have 1 additional field "sex" it is writing to the info table, however it's not writing the newly generated user id to the ifjo4_users_info table. Screen cap of my Events tab is attached (I've tried the custom code and DB Save also after onFail (not inside onFail) still inside Joomla User Reg - and it doesn't matter, same result)
Joomla Reg settings:
Override Joomla Allow: yes
Usertype: Registered
User activation: no
Send Activation: no
Random Pass: no
Auto Login: yes
display status: no
Custom Code:
Mode: controller
Code:
<?php
$form->data['user_id'] = $form->data['_PLUGINS_']['givve_reg']['id'];
?>
The form is called "givve_reg" I've also tried that variable as "joomla_registration" it makes no difference, same results.
DB Save:
Enabled: yes
Table: ifjo4_users_info
Model ID: chronoform_data
Save under model Id: no
--------------------------------------------------------------------------
Problem #2 - it's writing fine to the users table except for Usertype: Registered, that's comes back as "depricated"
Thanks
Lydia