⚠ 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

How to achieve select box / dropdown menu?



Adamantus
  • profile picture
  • Member

Posted 15 May 2012 - 10:34 AM

Hi. I'm trying to figure out how to do a drop down menu for the add screen. I would like to be able to create a drop down menu with an array so I can have the user select from a set of values, is this possible?

P.s. I did realise that this was possible with the enum field in the database but I don't want to convert some of the fields to enums.

[b]EDITED[/b]
I just found this post which explains how to do this:
http://www.grocerycr...__fromsearch__1

But it would be nice to be able to do this without fetching values from a table and just use an array.

fastturtle
  • profile picture
  • Member

Posted 18 May 2012 - 01:09 AM

I also was wondering if you could create a select box with an array and not with a table?

Mohammed Zayan
  • profile picture
  • Member

Posted 05 June 2012 - 15:09 PM

Yes, I want to make a drop down menu with fixed data not in a tabel