V
Vincent Roussillat
Guest
Hello,
First, I want to say "Bravo" to DaDaBik's author. His script is really great, easy to set-up and configure and provides a wonderful service.
I have one question, for which I find no answer. I am using version 2.2.1 of DaDaBik.
Assuming I have two SQL tables :
- table1 : including id, title, description, type
- table2 : including id, name
- I want table1.type to be filled with any table2.id value
I succeed in creating a form for table1 insertion/update that shows a list of table2.id or a list of "table2.id - table2.name" for type field but with the same value parameter in the <option> tag, but I would like to do the following : the type field should be presented as a list of "table2.name" but with a value of "table2.id" in the <option> tag
So, table1.type field would contain only table2.ids and no table2.name, which may change in the future.
Is this possible in DaDaBik or is it a new feature ?
If it's a new feature, I may be able to propose it. How should I perform this ?
First, I want to say "Bravo" to DaDaBik's author. His script is really great, easy to set-up and configure and provides a wonderful service.
I have one question, for which I find no answer. I am using version 2.2.1 of DaDaBik.
Assuming I have two SQL tables :
- table1 : including id, title, description, type
- table2 : including id, name
- I want table1.type to be filled with any table2.id value
I succeed in creating a form for table1 insertion/update that shows a list of table2.id or a list of "table2.id - table2.name" for type field but with the same value parameter in the <option> tag, but I would like to do the following : the type field should be presented as a list of "table2.name" but with a value of "table2.id" in the <option> tag
So, table1.type field would contain only table2.ids and no table2.name, which may change in the future.
Is this possible in DaDaBik or is it a new feature ?
If it's a new feature, I may be able to propose it. How should I perform this ?