Buy Now
Sign in

Save field value as foreign keys

Joao Serina , March 02 at 17:58
J
Joao Serina
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