Tagged: select menu not retaining value
The title says it all – I have a select box menu set up and it saves the data correctly, but the selection shows the default option, “Select…”, after updating the post.
I just solved a similar problem with checkboxes by using an alternate provided method of adding checkboxes, but there is no other way provided to add a select menu than the way I’m doing it – and I can’t find any flaw in how I’m implementing that…
Here’s the code: http://pastebin.com/tZydLHBx
I hope someone can help as this is a real dealbreaker for my client if I can’t solve it… thanks!
i think you should use
value stored in database is AL not Alabama.
You must be logged in to reply to this topic.