This post is fantastic - http://www.gravityhelp.com/documentation/page/Dynamically_Populating_Drop_Down_Fields, but I'm wondering if there's a way to group the options in <optgroups>?
It would be handy to be able to pass an array of arrays. i.e. array['MyHeading']['opt 1', 'opt2', 'opt3'];
thanks!