Forums

Connect a form to a user once they are set up?

sitebuildernow 28 Aug, 2009
Hi, maybe I'm just not quite getting it... I have created a form that will store a bunch of info for a user - I want to associate this data by joomla user id - but I don't want to use this form as the user registration form - is this possible?
GreyHead 29 Aug, 2009
Hi sitebuilderknow,

Yes, just make sure that the user id is stored in the table.

If you use ChronoForms to Create your table it will automatically offer to add a cf_suer_id column and add the user id to this.

Bob
sitebuildernow 29 Aug, 2009
To make sure I understand, I have the table set up and there is a cf_userid field - I manually add the Joomla User ID # in that field somehow?
GreyHead 29 Aug, 2009
Hi sitebuildernow,

ChronoForms shoudl add the user_id for you. Save a couple of test records from the form and take a look to make sure.

Bob
sitebuildernow 29 Aug, 2009
Ok, I see that there is a user id in the cf_userid column when viewing the data saved / submitted using the form - but (and I am truly sorry for being dense) I don't understand how that associates to a Joomla User? Do I ALSO need to create a chronoforms user registration form - is that what I'm missing? Perhaps I should explain my whole plan:

I have an existing client list. (I have a web design and hosting company that I manage using a product called AWBS which has it's own database separate from Joomla). I want to have a central database where I can store commonly asked information for each client - for example their username and password for their google analytics account. This is information I currently store in a real file folder on a real piece of paper. I want to get this information into a database and (eventually) create a report for each customer so they can login to their joomla account and find this information.

I have created a form and a table with all the fields I want to populate. The form works great, collects the data just like I want. I will have my assistant enter the data for each user using the form I've created - then I want to have my client's create a joomla login and once they have created their joomla credentials I will go back and associate their individual record from my special database table to their joomla user account and create a chronoconnectivity report from it. Does this make any sense?

Perhaps I am taking a backwards approach? Does this goal require that I turn off the standard Joomla registration form and instead create a Chrono registration form (which I assume will create a cf_userid). Then, have my assistant create a Joomla account for each existing client and THEN use my new form to enter their special information?
This topic is locked and no more replies can be posted.