form_dropdown not showing text, but shows key instead |
[eluser]Unknown[/eluser]
When I try to add a dropdown using the form_dropdown array, my website is doing something strange. It displays the key ("1"), and not the text ("GSAA"), UNTIL I press on the dropdown and select an item. Then it switches the display to show text instead of keys. Here is my code: Code: <?php What is going on?!? Can't figure it out. Thanks, George
[eluser]InsiteFX[/eluser]
Index 0 is a default setting. Code: <?php
[eluser]Unknown[/eluser]
Yes, I know. I think my error has something to do with the Foundation framework (http://foundation.zurb.com/docs/) I am using. When I use this to create the form: Code: <?php This are screwed up. But when I take out "custom" from the class: Code: <?php It works and shows the text values. Ugh. I will have to look into Foundation then. George
[eluser]CroNiX[/eluser]
I was going to say it sounds like some javascript is interfering, since a browser would never do that behavior on it's own using HTML, which is what CI outputs. |
Welcome Guest, Not a member yet? Register Sign In |