How to autofill my form fields based on three or multiple Joomla tables?
table1 is from Joomla core user table:
User ID
User Name
User Email
table 2 is also from Joomla core profile table
User Address
User City
User Phone
table 3 is a custom table that references the User ID
User ID (autofill based on table 1)
Transaction ID (autoincrement)
Transaction Uniq_id
Transaction Type
Transaction Detail
All fields from all tables (1,2 and 3) will be emailed. Only the fields in Table 3 will be saved to its table.
My problem is how to display these in just one form. Or do I need three forms? How do I connect the three forms? I've been browsing the forum but the explanations are too technical for me.😟 Please provide a related tutorial, something like "what to put where" please.
table1 is from Joomla core user table:
User ID
User Name
User Email
table 2 is also from Joomla core profile table
User Address
User City
User Phone
table 3 is a custom table that references the User ID
User ID (autofill based on table 1)
Transaction ID (autoincrement)
Transaction Uniq_id
Transaction Type
Transaction Detail
All fields from all tables (1,2 and 3) will be emailed. Only the fields in Table 3 will be saved to its table.
My problem is how to display these in just one form. Or do I need three forms? How do I connect the three forms? I've been browsing the forum but the explanations are too technical for me.😟 Please provide a related tutorial, something like "what to put where" please.