margarizaldi
New Member
Hi, I have a form with two groups:
Then I made another form with a databasejoin element (`table2___option_A`).
This dbjoin field must populate users' Name who selected "Option A" from `table_30_repeat___options`.
(Later I will also created the same field for the "Option B" etc. with the same way)
Is it right for me to connect the dbjoin to `table_30_repeat`?
- Goup for the form itself with several elements including `Name` field (say: `table___name`).
- Repeat group which (I was surprised that) its data is stored in different table (`table_30_repeat`).
This repeatable group contains dropdown element named "Options" (`table_30_repeat___options`), parent id, and id.
Then I made another form with a databasejoin element (`table2___option_A`).
This dbjoin field must populate users' Name who selected "Option A" from `table_30_repeat___options`.
(Later I will also created the same field for the "Option B" etc. with the same way)
Is it right for me to connect the dbjoin to `table_30_repeat`?
- If yes, how to use the Name (`table___name`) as the label (doesn't matter for the value, either the name or table2___id)? The repeat group only contains `parent_id` to identify the parent data.
- If not, how is the solution? Do I need to connect dbjoin to the `table` instead? But how to make the WHERE statement?