View more context

^ mine was working until I read your messages... >.>

Anyone know of an easy way to access the key of an array from $data in a form… e.g. something like ‘Program’ => key($data[‘Program’]) where program is a dropdown from an array?

so in this case you'd want Program? I'm not sure i understand - isn't Program the key?