Forums

Save field value as foreign keys

Joao Serina 02 Mar, 2018
Hi, I am trying to create a database table to store the info from my form and one of the default fields that chronoforms adds is the "user_id" field.

Is it possible / does it make sense to make this field a foreign key since it will be getting the user ID from joomla's user table?

Also how do I go about making the fields in a table created by chronforms foreign keys? Do I just put "FOREIGN" in the index?

Thanks a lot for your time.

Best regards,
João Serina
This topic is locked and no more replies can be posted.