I have two forms
1) The first form captures basic registration information. Logs it to the database and connects to the Joomla Registration Plugin.
All of this is performing successfully. Data is being captured, Joomla registration is complete.
2) the second form. I want to be able for the registered user to Upgrade their account which requires more information and therefore updating the table.
Ideally the go to another form based on the first but requiring more data. I would like the existing data to populate into the appropriate fields and then allow the user to add additional data, which, onSubmit, would update in the database.
I have tried the following and cannot get the form to auto - populate.
I am using the Profile Plugin - it is set up under the Plugin tab,
I click on the Profile Page link with my form checked on the Forms manager page.
Profile Page is configured with the right table chosen,
Target Field Name = cf_user_id
and my ‘Request’ parameter name is user_id
I have add a hidden field to the form: <input type="hidden" name=" cf_user_id " id=" cf_user_id " value="{cf_user_id}" />
I log in as a registered user, click on the “Upgrade” link.
The form appears but no data is populating the field.
What am I missing?
Thanks for your help.
1) The first form captures basic registration information. Logs it to the database and connects to the Joomla Registration Plugin.
All of this is performing successfully. Data is being captured, Joomla registration is complete.
2) the second form. I want to be able for the registered user to Upgrade their account which requires more information and therefore updating the table.
Ideally the go to another form based on the first but requiring more data. I would like the existing data to populate into the appropriate fields and then allow the user to add additional data, which, onSubmit, would update in the database.
I have tried the following and cannot get the form to auto - populate.
I am using the Profile Plugin - it is set up under the Plugin tab,
I click on the Profile Page link with my form checked on the Forms manager page.
Profile Page is configured with the right table chosen,
Target Field Name = cf_user_id
and my ‘Request’ parameter name is user_id
I have add a hidden field to the form: <input type="hidden" name=" cf_user_id " id=" cf_user_id " value="{cf_user_id}" />
I log in as a registered user, click on the “Upgrade” link.
The form appears but no data is populating the field.
What am I missing?
Thanks for your help.