Hi
I am having two steps of registration using chronoforms. I need to save the data inbetween these steps into jos_users table. how to submit the data in onsubmit event chronoforms. In the last step i have joomla registration field and first step of the form i having email address. i need to save these datas in the joomla registration table. Please help me 😢
first form is
Mother form which is emtpy
second form
extra fields
third form
joomla user registrations fields
i have searched in forums but i didnt get the correct way. Please help how to store data in joomla user registration fields
Hi rashgang,
Which version of ChronoForms are you using? You can find the version from Site Admin | Extensions | Install/Uninstall | Components in Joomla! 1.5 or Site Admin | Extensions | Extension Manager | Manage in Joomla! 1.6.
Bob
Hi rashgang,
Please don't save any data directly into the jos_users table. Doing this may break your site. Only save data to jos_users through the Joomla! User Object and methods. Best to use the ChronoForms Joomla! Registration Plug-in to do this for you.
The multi-page plug-in will save data between steps in the user session and recover it into the next step in the $posted array so that you can use it. This will work fine if the steps are all completed one after another in the same session.
You can save data to the database if you thank that there may be delays between completing the steps. In this case use a separate table - not jos_users - and add a database query to re-load the data before the registration step.
Bob
HI bob
i have enabled joomal registratio nplugin for the last form which i need . no db connection only i have enabled plugin. I have one doubt regarding the field orders. should it be in order like normal joomla registration form. please check with the attached pictures
Hi Bob,
Now it is working but i have one doubt. my email field is in the first form that is with the extra field. and other field like (name,username,password,confirm password) is in the last form. how to handle that email field with jos_user tables. how to handle the email field that is in the first form. please post the code to insert that email field alone in jos_users table
hi bob
🙂
Really thankful for your answers. There is no doubt in saving joomla user regisration. All fixed. Finally i have one doubt
1) mother form(empty html)
2) child form1(how to store these datas in new table) whether i need to get the posted values and store it in new table or it will save automatically. if these fields need to be store in new table how to post. Please show me example code
3) child form 2
Hi rashgang,
I'm not quite sure what the problem is.
If the new data is just on Child Form 1 then you can use the Db Connection there.
Bob