$crud->set_relation('seo_url', 'db_projects','seo');
On insert/update crud add id (primary key ) from db_projects to seo_url field. How can I add seo from db_projects not id (primary key) to seo_url field?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For this situation I think the only solution is to actually create a custom dropdown list with field_type method. So in your case you will have: