⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

select box select index from previous table



cbabekos

cbabekos
  • profile picture
  • Member

Posted 21 July 2020 - 13:29 PM

hi ,

 

i have a problem.

i have created two tables and i connected this with function set_relation.

on 2nd table i want to select index on a dropbox list which is connected with 1st table .

 

p.e. i have a table with projects and a 2nd table with projects details .

 

i use the function add_action to create a button to go on 2nd table.

 

now , on 2nd table when i want to add details on project i want to pre-selected dropdownlist index which is connected with 1st table .

 

any ideas ?

 

help !