jo-ka
Member
Hello. 6 months later i'm returning to work with Fabrik...
So, i have 3 tables, (examples)
table1
id | number | firstname | lastname
table2
id | number | role
table3
id | person | function
Note: First le me say that i know that i can put t1.firstname and t1.lastname fields in table2, but for reasons that doesnt matter right now i need to be like this.
In table2, the number field is a databasejoin with t1.number
OK, now the "Problem".
I have a form that is inserting data in table3. The form3.person field is a cascading dropdown element, that reads t2.number and is watching another field in the form (also doesn't matter righ now)
Everything is working almost good. The value i get from t2.number is ok but i need in the form3 to get a label from t1.lastname + t1.firstname.
So in the end, i need in the form to get the value from t2.number but the name and lastname from table1 just for display, not to insert in the table.
Is is possible do have a INNERJOIN in CONCAT Label field for example? What shall i do?
BR
So, i have 3 tables, (examples)
table1
id | number | firstname | lastname
table2
id | number | role
table3
id | person | function
Note: First le me say that i know that i can put t1.firstname and t1.lastname fields in table2, but for reasons that doesnt matter right now i need to be like this.
In table2, the number field is a databasejoin with t1.number
OK, now the "Problem".
I have a form that is inserting data in table3. The form3.person field is a cascading dropdown element, that reads t2.number and is watching another field in the form (also doesn't matter righ now)
Everything is working almost good. The value i get from t2.number is ok but i need in the form3 to get a label from t1.lastname + t1.firstname.
So in the end, i need in the form to get the value from t2.number but the name and lastname from table1 just for display, not to insert in the table.
Is is possible do have a INNERJOIN in CONCAT Label field for example? What shall i do?
BR