⚠ 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

drop down limit?



Jack Magdalene
  • profile picture
  • Member

Posted 16 March 2013 - 16:10 PM

Hi,

 

Is it possible to have more than one drop down list? I'm trying to include a drop down for both city and state but I get an error when I add the state code to my controller:

 

Never mind, mistake on my part, I was able to figure it out.


victor
  • profile picture
  • Member

Posted 18 March 2013 - 21:27 PM

ok ) If you will have any problems welcome to the forum ;)  


Jack Magdalene
  • profile picture
  • Member

Posted 19 March 2013 - 00:13 AM

Hi Victor, thanks for the warm welcome.

 

Question for you, I have set up multiple tables with set_relation to create drop-downs when adding/editing records, but how can on use crud to edit the tables when I need to change the drop-down selection items? 

 

For example, in your "Set a relation" demo, you have a list of international cities, what if I were to add another drop-down, maybe a list for job titles (from job_title table), how can I add to both the cities and job title tables via crud?

 

Thanks in advance.

Jack